Commit 595d5908 authored by Georgios Dagkakis's avatar Georgios Dagkakis

print statements removed

parent f3dbd5bc
...@@ -28,7 +28,6 @@ class BatchesACO(ACO): ...@@ -28,7 +28,6 @@ class BatchesACO(ACO):
unitsThroughput=unitsThroughput[0] unitsThroughput=unitsThroughput[0]
if not unitsThroughput: if not unitsThroughput:
unitsThroughput=batchesThroughput unitsThroughput=batchesThroughput
print 'score=',unitsThroughput
# return the negative value since they are ranked this way. XXX discuss this # return the negative value since they are ranked this way. XXX discuss this
return -unitsThroughput return -unitsThroughput
...@@ -64,7 +63,6 @@ class BatchesACO(ACO): ...@@ -64,7 +63,6 @@ class BatchesACO(ACO):
for node_id, node in ant_data["graph"]["node"].iteritems(): for node_id, node in ant_data["graph"]["node"].iteritems():
if node['_class']=="dream.simulation.SkilledOperatorRouter.SkilledRouter": if node['_class']=="dream.simulation.SkilledOperatorRouter.SkilledRouter":
node['weightFactors']=weightFactors node['weightFactors']=weightFactors
print 'created Ant',weightFactors
return ant_data return ant_data
def run(self, data): def run(self, data):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment