io.github.srs.model.BaseSimulationState
See theBaseSimulationState companion object
final case class BaseSimulationState(simulationTime: Option[FiniteDuration], elapsedTime: FiniteDuration = ..., dt: FiniteDuration = ..., simulationRNG: RNG, environment: ValidEnvironment) extends BaseState
Simulation state case class that holds the current state of the simulation.
Value parameters
- dt
-
the time step for each simulation update.
- elapsedTime
-
the elapsed time since the start of the simulation.
- environment
-
the current environment of the simulation.
- simulationRNG
-
the random number generator used in the simulation.
- simulationSpeed
-
the speed at which the simulation is running.
- simulationStatus
-
the current status of the simulation.
- simulationTime
-
the current simulation time, if applicable.
Attributes
Members list
In this article