Package SimPy :: Module Simulation :: Class Evlist
[hide private]
[frames] | no frames]

Class Evlist

source code

object --+
         |
        Evlist
Known Subclasses:

Defines event list and operations on it

Instance Methods [hide private]
 
__init__(self, sim)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_post(self, what, at, prior=False)
Post an event notice for process what for time at
source code
 
_unpost(self, whom)
Mark event notice for whom as cancelled if whom is a suspended process
source code
 
_nextev(self)
Retrieve next event from event list
source code
 
_isEmpty(self) source code
 
_allEventNotices(self)
Returns string with eventlist as t1: [procname, procname2] t2: [procname4, procname5, .
source code
 
_allEventTimes(self)
Returns list of all times for which events are scheduled.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, sim)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_allEventNotices(self)

source code 

Returns string with eventlist as t1: [procname, procname2] t2: [procname4, procname5, . . . ] . . . .