1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
=====================================
``simpy.rt`` --- Real-time simulation
=====================================
.. automodule:: simpy.rt
.. autoclass:: RealtimeEnvironment
.. autoattribute:: now
.. autoattribute:: active_process
.. autoattribute:: factor
.. autoattribute:: strict
.. method:: process(generator)
Create a new :class:`~simpy.events.Process` instance for *generator*.
.. method:: timeout(delay, value=None)
Return a new :class:`~simpy.events.Timeout` event with a *delay* and,
optionally, a *value*.
.. method:: event()
Return a new :class:`~simpy.events.Event` instance. Yielding this event
suspends a process until another process triggers the event.
.. method:: all_of(events)
Return a new :class:`~simpy.events.AllOf` condition for a list of
*events*.
.. method:: any_of(events)
Return a new :class:`~simpy.events.AnyOf` condition for a list of
*events*.
.. automethod:: exit
.. automethod:: schedule
.. automethod:: peek
.. automethod:: step
.. automethod:: sync
.. automethod:: run
|