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
d2250e3b
Commit
d2250e3b
authored
Feb 25, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments clean-up
parent
1db724d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
dream/simulation/OperatorRouter.py
dream/simulation/OperatorRouter.py
+0
-24
No files found.
dream/simulation/OperatorRouter.py
View file @
d2250e3b
...
...
@@ -130,30 +130,6 @@ class Router(ObjectInterruption):
# print ' ', object.id
#===================================================================
# for object in G.MachineList:
# if object.inPositionToGet:
# object.canProceedWithGetEntity=True
# object.inPositionToGet=False
# have to check also the activeCallersList of each machine about to receive something
# now that entities have finished moving the router have to assign operators and allow
# the machines that have assigned operators to proceed with getEntity
# # TESTING
# import Globals
# giversList=[]
# for object in objList:
# for receiver in objList:
# if object.haveToDispose(receiver):
# giversList.append(object)
# # set the variable operatorAssignedTo to activeObject, the operator is then blocked
# activeObject.operatorPool.operators[0].operatorAssignedTo=activeObject
# # TESTING
# print now(), activeObject.operatorPool.operators[0].objName, 'got assigned to', activeObject.id
del
self
.
calledOperators
[:]
del
self
.
pendingObjects
[:]
self
.
exitRouter
()
...
...
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