Package mosp :: Module locations :: Class Exit
[hide private]
[frames] | no frames]

Class Exit

source code


Exit location formerly known as mosp.exit.Exit


Deprecated: old code base, now Exits are (inherited from) Locations.

Author: P. Tute

Instance Methods [hide private]
new empty set object
__init__(self, random, sim, sleeptime=10)
Inits the Exit.
source code
 
go(self)
This does the exit do: Reactivate any contained Person and sleep again.
source code

Inherited from SimPy.Lib.Process: acquired, active, cancel, interrupt, interruptReset, interrupted, passive, queuing, start, stored, terminated

Inherited from SimPy.Lib.Process (private): _hold, _passivate

Inherited from SimPy.Lister.Lister: __repr__, __str__, attrnames

Inherited from set: __and__, __cmp__, __contains__, __eq__, __ge__, __getattribute__, __gt__, __iand__, __ior__, __isub__, __iter__, __ixor__, __le__, __len__, __lt__, __ne__, __new__, __or__, __rand__, __reduce__, __ror__, __rsub__, __rxor__, __sizeof__, __sub__, __xor__, add, clear, copy, difference, difference_update, discard, intersection, intersection_update, isdisjoint, issubset, issuperset, pop, remove, symmetric_difference, symmetric_difference_update, union, update

Inherited from object: __delattr__, __format__, __reduce_ex__, __setattr__, __subclasshook__

Class Variables [hide private]

Inherited from SimPy.Lister.Lister: indent

Inherited from set: __hash__

Instance Variables [hide private]
  sleeptime
time between two go()s
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, random, sim, sleeptime=10)
(Constructor)

source code 

Inits the Exit.

Returns: new empty set object
Overrides: object.__init__