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
7731e8ec
Commit
7731e8ec
authored
Nov 19, 2014
by
Georgios Dagkakis
Committed by
Jérome Perrin
Feb 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments
parent
c4caec80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dream/simulation/SkilledOperatorRouter.py
dream/simulation/SkilledOperatorRouter.py
+3
-2
No files found.
dream/simulation/SkilledOperatorRouter.py
View file @
7731e8ec
...
...
@@ -229,7 +229,7 @@ class SkilledRouter(Router):
#===================================================================
# # XXX signal the stations that the assignment is complete
#===================================================================
#
the stations that
#
if the operator is free the station can be signalled right away
stationsProcessingLast
=
[]
toBeSignalled
=
list
(
self
.
toBeSignalled
)
for
station
in
toBeSignalled
:
...
...
@@ -241,7 +241,8 @@ class SkilledRouter(Router):
continue
# signal the station so that it gets the operator
self
.
signalStation
(
station
,
operator
)
# else wait for signals that operator became available and signal the stations
self
.
expectedFinishSignalsDict
=
{}
self
.
expectedFinishSignals
=
[]
for
station
in
stationsProcessingLast
:
...
...
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