update the constructor
This commit is contained in:
@@ -116,10 +116,10 @@ class Worker(Thread):
|
||||
preceedingInbounds[runway.Runway.Name] = inbound
|
||||
|
||||
# configure the ACO run
|
||||
acoConfig = Configuration(earliestArrivalTime, self.sequencingConfiguration, 5 * len(relevantInbounds), 5 * len(relevantInbounds))
|
||||
if 0 != len(preceedingInbounds):
|
||||
acoConfig.PreceedingInbounds = preceedingInbounds
|
||||
acoConfig.Inbounds = relevantInbounds
|
||||
acoConfig = Configuration(constraints = self.sequencingConfiguration, inbounds = relevantInbounds,
|
||||
earliest = earliestArrivalTime, weather = self.WeatherModel,
|
||||
preceeding = None if 0 == len(preceedingInbounds) else preceedingInbounds,
|
||||
ants = 5 * len(relevantInbounds), generations = 5 * len(relevantInbounds))
|
||||
|
||||
# perform the ACO run
|
||||
aco = Colony(acoConfig)
|
||||
|
||||
Reference in New Issue
Block a user