abort if we found the optimal solution
此提交包含在:
@@ -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)
|
||||
|
||||
新增問題並參考
封鎖使用者