Parcourir la source

set the maximum delay

Sven Czarnian il y a 3 ans
Parent
commit
3560e98ad2
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      aman/sys/Worker.py

+ 2 - 1
aman/sys/Worker.py

@@ -109,7 +109,8 @@ class Worker(Thread):
                 acoConfig = Configuration(constraints = self.SequencingConfiguration, nav = self.Configuration.GngData,
                                           earliest = earliestArrivalTime, weather = self.WeatherModel,
                                           preceeding = None if 0 == len(preceedingInbounds) else preceedingInbounds,
-                                          ants = 5 * len(relevantInbounds), generations = 5 * len(relevantInbounds))
+                                          ants = 5 * len(relevantInbounds), generations = 5 * len(relevantInbounds),
+                                          maxDelayMay=self.Configuration.MaxDelayMay)
 
                 # perform the ACO run
                 aco = Colony(relevantInbounds, acoConfig)