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
2e30e810
Commit
2e30e810
authored
Feb 12, 2014
by
Ioannis Papagiannopoulos
Committed by
Jérome Perrin
Feb 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MachineManagedJob modified to update the manager correctly with sorting before the manager loading
parent
79c06f68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
dream/simulation/MachineManagedJob.py
dream/simulation/MachineManagedJob.py
+4
-1
No files found.
dream/simulation/MachineManagedJob.py
View file @
2e30e810
...
...
@@ -120,7 +120,10 @@ class MachineManagedJob(MachineJobShop):
and
not
activeObject
.
giver
.
exitIsAssigned
():
activeObject
.
giver
.
assignExit
()
#make the operatorsList so that it holds only the manager of the current order
activeObject
.
operatorPool
.
operatorsList
=
[
activeObject
.
giver
.
getActiveObjectQueue
()[
0
].
manager
]
# activeObject.operatorPool.operatorsList=[activeObject.giver.getActiveObjectQueue()[0].manager]
# TODO: think over the next line, this way sort entity is run multiple times throughout the life-span of
# an entity in the object. Maybe would be a good idea to pick the entity to be disposed from the giver
activeObject
.
giver
.
sortEntities
()
activeObject
.
operatorPool
.
operators
=
[
activeObject
.
giver
.
getActiveObjectQueue
()[
0
].
manager
]
self
.
readLoadTime
()
return
True
...
...
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