add TODOs for the later release
This commit is contained in:
@@ -100,6 +100,7 @@ class RecedingHorizonControl:
|
|||||||
earliestArrivalTime = None
|
earliestArrivalTime = None
|
||||||
|
|
||||||
# check the overlapping windows
|
# 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(self.FreezedIndex + 1, min(len(self.Windows), self.FreezedIndex + 1 + self.Configuration.WindowOverlap)):
|
||||||
for i in range(0, len(self.Windows)):
|
for i in range(0, len(self.Windows)):
|
||||||
if None == earliestArrivalTime:
|
if None == earliestArrivalTime:
|
||||||
|
|||||||
@@ -29,8 +29,10 @@ class Colony:
|
|||||||
|
|
||||||
# assume that the inbounds are sorted in FCFS order
|
# assume that the inbounds are sorted in FCFS order
|
||||||
print('FCFS-Sequence:')
|
print('FCFS-Sequence:')
|
||||||
|
# TODO remove this after testing and optimization
|
||||||
tmp = datetime.now().replace(tzinfo = pytz.UTC) + timedelta(seconds = 50 * len(inbounds))
|
tmp = datetime.now().replace(tzinfo = pytz.UTC) + timedelta(seconds = 50 * len(inbounds))
|
||||||
for inbound in inbounds:
|
for inbound in inbounds:
|
||||||
|
# TODO remove this after testing and optimization
|
||||||
for runway in inbound.ArrivalCandidates:
|
for runway in inbound.ArrivalCandidates:
|
||||||
inbound.ArrivalCandidates[runway].InitialArrivalTime = tmp
|
inbound.ArrivalCandidates[runway].InitialArrivalTime = tmp
|
||||||
inbound.ArrivalCandidates[runway].EarliestArrivalTime = tmp
|
inbound.ArrivalCandidates[runway].EarliestArrivalTime = tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user