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
59855e0f
Commit
59855e0f
authored
Jul 16, 2014
by
Ioannis Papagiannopoulos
Committed by
Georgios Dagkakis
Sep 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
routing() method of Batch corrected
parent
0e92f8d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dream/simulation/Batch.py
dream/simulation/Batch.py
+3
-2
No files found.
dream/simulation/Batch.py
View file @
59855e0f
...
...
@@ -47,6 +47,7 @@ class Batch(Entity):
def
routing
(
self
):
route
=
[]
for
child
in
self
.
subBatchList
:
route
.
append
([
step
for
step
,
time
in
child
.
schedule
])
route
=
list
(
set
(
route
))
for
step
in
child
.
schedule
:
route
.
append
(
step
[
0
])
route
=
list
(
set
(
route
))
return
route
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