add TODOs for the later release

此提交包含在:
Sven Czarnian
2021-10-17 17:31:19 +02:00
父節點 01ce0f1bfe
當前提交 62f2a6c3ed
共有 2 個檔案被更改,包括 3 行新增0 行删除

查看文件

@@ -100,6 +100,7 @@ class RecedingHorizonControl:
earliestArrivalTime = None
# check the overlapping windows
# TODO use this commented for loop after developing to use the correct windows
#for i in range(self.FreezedIndex + 1, min(len(self.Windows), self.FreezedIndex + 1 + self.Configuration.WindowOverlap)):
for i in range(0, len(self.Windows)):
if None == earliestArrivalTime:

查看文件

@@ -29,8 +29,10 @@ class Colony:
# assume that the inbounds are sorted in FCFS order
print('FCFS-Sequence:')
# TODO remove this after testing and optimization
tmp = datetime.now().replace(tzinfo = pytz.UTC) + timedelta(seconds = 50 * len(inbounds))
for inbound in inbounds:
# TODO remove this after testing and optimization
for runway in inbound.ArrivalCandidates:
inbound.ArrivalCandidates[runway].InitialArrivalTime = tmp
inbound.ArrivalCandidates[runway].EarliestArrivalTime = tmp