abort if we found the optimal solution

Este commit está contenido en:
Sven Czarnian
2021-12-16 10:24:10 +01:00
padre bb6cacd898
commit ae96e5be6b

Ver fichero

@@ -121,6 +121,10 @@ class Colony:
if None == bestSequence or bestCandidate[0] < bestSequence[0]:
bestSequence = bestCandidate
# found the optimal solution
if 1 >= bestSequence[0].total_seconds():
break
# create the final sequence
self.Result = []
rwyManager = RunwayManager(self.Configuration)