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
ef390baa
Commit
ef390baa
authored
Nov 15, 2013
by
Georgios Dagkakis
Committed by
Jérome Perrin
Dec 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unused commented code removed from Exit
parent
a00cced5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
dream/simulation/Exit.py
dream/simulation/Exit.py
+0
-30
No files found.
dream/simulation/Exit.py
View file @
ef390baa
...
...
@@ -55,36 +55,6 @@ class Exit(CoreObject):
CoreObject
.
initialize
(
self
)
# no predecessorIndex nor successorIndex
# Process.__init__(self)
#
# self.Up=True #Boolean that shows if the object is in failure ("Down") or not ("up")
# self.currentEntity=None
# # ============================== total times ===============================================
# self.totalBlockageTime=0 #holds the total blockage time
# self.totalFailureTime=0 #holds the total failure time
# self.totalWaitingTime=0 #holds the total waiting time
# self.totalWorkingTime=0 #holds the total working time
# self.completedJobs=0 #holds the number of completed jobs
# # ============================== Entity related attributes =================================
# self.timeLastEntityEnded=0 #holds the last time that an entity ended processing in the object
# self.nameLastEntityEnded="" #holds the name of the last entity that ended processing in the object
# self.timeLastEntityEntered=0 #holds the last time that an entity entered in the object
# self.nameLastEntityEntered="" #holds the name of the last entity that entered in the object
# self.timeLastFailure=0 #holds the time that the last failure of the object started
# self.timeLastFailureEnded=0 #holds the time that the last failure of the object Ended
# # ============================== failure related times =====================================
# self.downTimeProcessingCurrentEntity=0 #holds the time that the object was down while
# # processing the current entity
# self.downTimeInTryingToReleaseCurrentEntity=0 #holds the time that the object was down while trying
# # to release the current entity
# self.downTimeInCurrentEntity=0 #holds the total time that the object was
# # down while holding current entity
# self.timeLastEntityLeft=0 #holds the last time that an entity left the object
#
# self.processingTimeOfCurrentEntity=0 #holds the total processing time that the current entity required
# # ============================== waiting flag ==============================================
# self.waitToDispose=False #shows if the object waits to dispose an entity
# initialize the internal Queue (type Resource) of the Exit
self
.
Res
=
Resource
(
capacity
=
infinity
)
# The number of resource that exited through this exit.
...
...
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