The Simulation Clock
The components here provide implementations of different kinds of simulation
clocks for use in vivarium
.
For more information about time in the simulation, see the associated concept note.
- class vivarium.framework.time.SimulationClock[source]
Defines a base implementation for a simulation clock.
- property name
- class vivarium.framework.time.SimpleClock[source]
A unitless step-count based simulation clock.
- configuration_defaults = {'time': {'end': 100, 'start': 0, 'step_size': 1}}
- property name
- class vivarium.framework.time.DateTimeClock[source]
A date-time based simulation clock.
- configuration_defaults = {'time': {'end': {'day': 2, 'month': 7, 'year': 2010}, 'start': {'day': 2, 'month': 7, 'year': 2005}, 'step_size': 1}}
- property name
- class vivarium.framework.time.TimeInterface(manager)[source]
- Parameters:
manager (SimulationClock) –