SimPy :: SimulationStep :: SimulationStep :: Class SimulationStep
[hide private]
[frames] | no frames]

Class SimulationStep

source code

           object --+    
                    |    
Simulation.Simulation --+
                        |
                       SimulationStep

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
initialize(self) source code
 
startStepping(self)
Application function to start stepping through simulation.
source code
 
stopStepping(self)
Application function to stop stepping through simulation.
source code
 
simulate(self, callback=<function <lambda> at 0x012FBE30>, until=0)
Schedules Processes / semi - coroutines until time 'until'
source code
 
simulateStep(self, callback=<function <lambda> at 0x012FBEB0>, until=0)
Schedules Processes / semi - coroutines until next event
source code

Inherited from Simulation.Simulation: activate, allEventNotices, allEventTimes, now, reactivate, startCollection, stopSimulation

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)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

initialize(self)

source code 
Overrides: Simulation.Simulation.initialize

simulate(self, callback=<function <lambda> at 0x012FBE30>, until=0)

source code 

Schedules Processes / semi - coroutines until time 'until'

Overrides: Simulation.Simulation.simulate

simulateStep(self, callback=<function <lambda> at 0x012FBEB0>, until=0)

source code 

Schedules Processes / semi - coroutines until next event

Can be called repeatedly. Behaves like 'simulate', but does execute only one event per call.