add the absolut minimal optimization value due RHC definition

This commit is contained in:
Sven Czarnian
2021-10-14 14:12:43 +02:00
parent 217c9ad742
commit 3b8989508e
2 changed files with 5 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ class Worker(Thread):
print('Relevant inbounds: ' + str(len(relevantInbounds)))
# configure the ACO run
acoConfig = Configuration(self.sequencingConfiguration, 5 * len(relevantInbounds), 5 * len(relevantInbounds))
acoConfig = Configuration(earliestArrivalTime, self.sequencingConfiguration, 5 * len(relevantInbounds), 5 * len(relevantInbounds))
if 0 != len(preceedingInbounds):
acoConfig.PreceedingInbounds = preceedingInbounds
acoConfig.Inbounds = relevantInbounds

View File

@@ -1,13 +1,16 @@
#!/usr/bin/env python
from datetime import datetime
from aman.config.AirportSequencing import AirportSequencing
class Configuration:
def __init__(self, runwayInfo : AirportSequencing, antCount : int, explorationCount : int):
def __init__(self, earliestArrivalTime : datetime, runwayInfo : AirportSequencing, antCount : int, explorationCount : int):
# the AMAN specific information
self.RunwayConstraints = runwayInfo
self.PreceedingInbounds = None
self.Inbounds = None
self.EarliestArrivalTime = earliestArrivalTime
# the ACO specific information
self.AntCount = antCount