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
c4a63d44
Commit
c4a63d44
authored
Mar 12, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments and code clean-up
parent
0555f714
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1291 additions
and
100 deletions
+1291
-100
dream/simulation/JSONInputs/Topology67.json
dream/simulation/JSONInputs/Topology67.json
+1212
-0
dream/simulation/Operator.py
dream/simulation/Operator.py
+0
-5
dream/simulation/OperatorRouter.py
dream/simulation/OperatorRouter.py
+79
-95
No files found.
dream/simulation/JSONInputs/Topology67.json
0 → 100644
View file @
c4a63d44
This diff is collapsed.
Click to expand it.
dream/simulation/Operator.py
View file @
c4a63d44
...
...
@@ -40,11 +40,6 @@ class Operator(Repairman): # XXX isn't it the other way around ?
self
.
type
=
"Operator"
self
.
activeCallersList
=
[]
# the list of object that request the operator
self
.
schedulingRule
=
schedulingRule
#the scheduling rule that the Queue follows
# #=======================================================================
# # TESTING
# print now(), self.id, 'schedulingRule'
# print self.schedulingRule
# #=======================================================================
self
.
multipleCriterionList
=
[]
#list with the criteria used to sort the Entities in the Queue
SRlist
=
[
schedulingRule
]
if
schedulingRule
.
startswith
(
"MC"
):
# if the first criterion is MC aka multiple criteria
...
...
dream/simulation/OperatorRouter.py
View file @
c4a63d44
This diff is collapsed.
Click to expand it.
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