remove debug messages

This commit is contained in:
Sven Czarnian
2021-11-29 17:58:11 +01:00
parent 50f3e28baf
commit 6d5e635d42

View File

@@ -119,9 +119,8 @@ class Worker(Thread):
aco = Colony(relevantInbounds, acoConfig) aco = Colony(relevantInbounds, acoConfig)
aco.optimize() aco.optimize()
if None != aco.Result: if None != aco.Result:
for inbound in aco.Result: for node in aco.Result:
self.RecedingHorizonControl.resequenceInbound(inbound) self.RecedingHorizonControl.resequenceInbound(node.Inbound)
print('Delays: FCFS=' + str(aco.FcfsDelay.total_seconds()) + ', ACO=' + str(aco.ResultDelay.total_seconds()))
# measure the exuction time of the overall optimization process # measure the exuction time of the overall optimization process
print('Execution time: ' + str(time.process_time() - start) + ' seconds') print('Execution time: ' + str(time.process_time() - start) + ' seconds')