increase the overall performance
Ta zmiana jest zawarta w:
%! (template.HTML=
Sven Czarnian)złożyło 2021-12-22 13:29:08 +01:00
1 rodzic
f83febab3a
złożenie
d9bc25a507
Plik 1 zmieniony
+4
@@ -110,9 +110,13 @@ class Worker(Thread):
|
||||
preceedingRunways = runways, preceedingIafs = iafs,
|
||||
ants = 5 * len(relevantInbounds), generations = 5 * len(relevantInbounds))
|
||||
|
||||
# run the optimizer outside the locking functions
|
||||
self.releaseLock()
|
||||
# perform the ACO run
|
||||
aco = Colony(relevantInbounds, acoConfig)
|
||||
aco.optimize()
|
||||
self.acquireLock()
|
||||
|
||||
if None != aco.Result:
|
||||
for node in aco.Result:
|
||||
self.RecedingHorizonControl.resequenceInbound(node.Inbound)
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika