set the maximum delay

This commit is contained in:
Sven Czarnian
2021-11-17 10:02:01 +01:00
parent a9fc6bc701
commit 3560e98ad2

View File

@@ -109,7 +109,8 @@ class Worker(Thread):
acoConfig = Configuration(constraints = self.SequencingConfiguration, nav = self.Configuration.GngData, acoConfig = Configuration(constraints = self.SequencingConfiguration, nav = self.Configuration.GngData,
earliest = earliestArrivalTime, weather = self.WeatherModel, earliest = earliestArrivalTime, weather = self.WeatherModel,
preceeding = None if 0 == len(preceedingInbounds) else preceedingInbounds, 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 # perform the ACO run
aco = Colony(relevantInbounds, acoConfig) aco = Colony(relevantInbounds, acoConfig)