Explorar el Código

set the maximum delay

Sven Czarnian hace 3 años
padre
commit
3560e98ad2
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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)