use the final assignments
This commit is contained in:
@@ -120,8 +120,7 @@ class RecedingHorizonControl:
|
|||||||
earliestArrivalTime = None
|
earliestArrivalTime = None
|
||||||
|
|
||||||
# check the overlapping windows
|
# check the overlapping windows
|
||||||
for i in range(0, len(self.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)):
|
|
||||||
if None == earliestArrivalTime:
|
if None == earliestArrivalTime:
|
||||||
earliestArrivalTime = self.Windows[i].StartTime
|
earliestArrivalTime = self.Windows[i].StartTime
|
||||||
for inbound in self.Windows[i].Inbounds:
|
for inbound in self.Windows[i].Inbounds:
|
||||||
|
|||||||
Reference in New Issue
Block a user