fix a crash
This commit is contained in:
@@ -26,7 +26,7 @@ class Ant:
|
||||
|
||||
# Implements function (5)
|
||||
def heuristicInformation(self, current : int):
|
||||
_, eta, _ = self.RunwayManager.selectArrivalRunway(self.Nodes[current], self.Configuration.EarliestArrivalTime)
|
||||
_, _, _, eta, _ = self.RunwayManager.selectArrivalRunway(self.Nodes[current], self.Configuration.EarliestArrivalTime)
|
||||
if None == eta:
|
||||
return -1.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user