SimulationState

io.github.srs.model.SimulationState
See theSimulationState companion object
final case class SimulationState(simulationTime: Option[FiniteDuration], elapsedTime: FiniteDuration, dt: FiniteDuration, simulationSpeed: SimulationSpeed, simulationRNG: RNG, simulationStatus: SimulationStatus, environment: ValidEnvironment) extends State

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

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait State
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product