From 6d5e635d42da5ba686f6e385342d604e5c323e35 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Mon, 29 Nov 2021 17:58:11 +0100 Subject: [PATCH] remove debug messages --- aman/sys/Worker.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aman/sys/Worker.py b/aman/sys/Worker.py index cc51934..fbcf43a 100644 --- a/aman/sys/Worker.py +++ b/aman/sys/Worker.py @@ -119,9 +119,8 @@ class Worker(Thread): aco = Colony(relevantInbounds, acoConfig) aco.optimize() if None != aco.Result: - for inbound in aco.Result: - self.RecedingHorizonControl.resequenceInbound(inbound) - print('Delays: FCFS=' + str(aco.FcfsDelay.total_seconds()) + ', ACO=' + str(aco.ResultDelay.total_seconds())) + for node in aco.Result: + self.RecedingHorizonControl.resequenceInbound(node.Inbound) # measure the exuction time of the overall optimization process print('Execution time: ' + str(time.process_time() - start) + ' seconds')