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
1d94eb3a
Commit
1d94eb3a
authored
Jan 30, 2014
by
Ioannis Papagiannopoulos
Committed by
Jérome Perrin
Feb 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor correction to the creation of operator pool in LineGeneration
parent
0fdc9b3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dream/simulation/LineGenerationJSON.py
dream/simulation/LineGenerationJSON.py
+1
-1
No files found.
dream/simulation/LineGenerationJSON.py
View file @
1d94eb3a
...
...
@@ -211,7 +211,7 @@ def createObjects():
else
:
OP
=
OperatorPool
(
element_id
,
name
,
capacity
,
operatorsList
)
# create a operatorPool object
OP
.
coreObjectIds
=
getSuccessorList
(
id
)
# update the list of objects that the operators of the operatorPool operate
for
operator
in
operatorsList
.
values
()
:
for
operator
in
operatorsList
:
operator
.
coreObjectIds
=
OP
.
coreObjectIds
# update the list of objects that the operators operate
G
.
OperatorPoolsList
.
append
(
OP
)
# add the operatorPool to the RepairmanList
# -----------------------------------------------------------------------
...
...
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