Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
595d5908
Commit
595d5908
authored
Apr 02, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print statements removed
parent
f3dbd5bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
dream/plugins/Batches/BatchesACO.py
dream/plugins/Batches/BatchesACO.py
+0
-2
No files found.
dream/plugins/Batches/BatchesACO.py
View file @
595d5908
...
...
@@ -28,7 +28,6 @@ class BatchesACO(ACO):
unitsThroughput
=
unitsThroughput
[
0
]
if
not
unitsThroughput
:
unitsThroughput
=
batchesThroughput
print
'score='
,
unitsThroughput
# return the negative value since they are ranked this way. XXX discuss this
return
-
unitsThroughput
...
...
@@ -64,7 +63,6 @@ class BatchesACO(ACO):
for
node_id
,
node
in
ant_data
[
"graph"
][
"node"
].
iteritems
():
if
node
[
'_class'
]
==
"dream.simulation.SkilledOperatorRouter.SkilledRouter"
:
node
[
'weightFactors'
]
=
weightFactors
print
'created Ant'
,
weightFactors
return
ant_data
def
run
(
self
,
data
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment