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
c2a2e5d5
Commit
c2a2e5d5
authored
Mar 06, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments minor correction
parent
21d2dfe6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dream/simulation/Operator.py
dream/simulation/Operator.py
+2
-2
No files found.
dream/simulation/Operator.py
View file @
c2a2e5d5
...
...
@@ -61,7 +61,7 @@ class Operator(Repairman): # XXX isn't it the other way around ?
self
.
operatorAssignedTo
=
None
# =======================================================================
# sorts the
Entities of the Queue
according to the scheduling rule
# sorts the
activeCallerrs of the Operator
according to the scheduling rule
# =======================================================================
def
sortEntities
(
self
):
#if we have sorting according to multiple criteria we have to call the sorter many times
...
...
@@ -73,7 +73,7 @@ class Operator(Repairman): # XXX isn't it the other way around ?
self
.
activeQSorter
(
self
.
schedulingRule
)
# =======================================================================
# sorts the
Entities of the Queue
according to the scheduling rule
# sorts the
activeCallers of the activeCallersList
according to the scheduling rule
# =======================================================================
# TODO: entityToGet is not updated for all stations, consider using it for all stations or withdraw the idea
def
activeQSorter
(
self
,
criterion
=
None
):
...
...
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