use the optimization thresholds to calculate the TTG
This commit is contained in:
@@ -87,7 +87,7 @@ class Worker(Thread):
|
||||
|
||||
if 0 != report.distanceToIAF and '' != report.initialApproachFix:
|
||||
inbound = Inbound(report, self.PerformanceData)
|
||||
Node(inbound, inbound.ReportTime, self.WeatherModel, self.Configuration.GngData, self.SequencingConfiguration)
|
||||
Node(inbound, inbound.ReportTime, self.WeatherModel, self.Configuration, self.SequencingConfiguration)
|
||||
if None != inbound.InitialArrivalTime:
|
||||
self.RecedingHorizonControl.updateReport(inbound)
|
||||
else:
|
||||
@@ -109,11 +109,10 @@ class Worker(Thread):
|
||||
preceedingInbounds[runway.Runway.Name] = Node(inbound, None, None, None, None)
|
||||
|
||||
# configure the ACO run
|
||||
acoConfig = Configuration(constraints = self.SequencingConfiguration, nav = self.Configuration.GngData,
|
||||
acoConfig = Configuration(constraints = self.SequencingConfiguration, config = self.Configuration,
|
||||
earliest = earliestArrivalTime, weather = self.WeatherModel,
|
||||
preceeding = None if 0 == len(preceedingInbounds) else preceedingInbounds,
|
||||
ants = 5 * len(relevantInbounds), generations = 5 * len(relevantInbounds),
|
||||
maxDelayMay=self.Configuration.MaxDelayMay)
|
||||
ants = 5 * len(relevantInbounds), generations = 5 * len(relevantInbounds))
|
||||
|
||||
# perform the ACO run
|
||||
aco = Colony(relevantInbounds, acoConfig)
|
||||
|
||||
Reference in New Issue
Block a user