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
84c6233e
Commit
84c6233e
authored
May 29, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OperatorPool updated
parent
2bc98b1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
dream/simulation/OperatorPool.py
dream/simulation/OperatorPool.py
+2
-6
No files found.
dream/simulation/OperatorPool.py
View file @
84c6233e
...
...
@@ -26,7 +26,8 @@ Created on 22 Nov 2012
models a Broker that organizes the dispatch of operators/repairmen
'''
from
SimPy.Simulation
import
Resource
,
now
# from SimPy.Simulation import Resource, now
import
simpy
import
xlwt
from
ObjectResource
import
ObjectResource
from
Operator
import
Operator
...
...
@@ -50,11 +51,6 @@ class OperatorPool(ObjectResource):
self
.
coreObjects
=
[]
# holds the object/Machine that currently handles the operator pool
self
.
currentObject
=
'None'
# TODO: variables to be used by OperatorPreemptive
# TODO: the object requesting the OperatorPreemptive
self
.
requestingObject
=
None
# TODO: the last object calling the OperatorPool
self
.
receivingObject
=
None
# if operatorsList is of type list and of length 0
# then no operators will be created, they may be
# populated earlier on by the logic of the Stations
...
...
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