SimulationConfig

io.github.srs.config.SimulationConfig
final case class SimulationConfig[E <: EnvironmentParameters](simulation: Simulation, environment: E)

A configuration for a simulation, containing the simulation and its environment.

Type parameters

E

the type of environment parameters

Value parameters

environment

the environment in which the simulation runs

simulation

the simulation instance

Attributes

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

Members list

Value members

Concrete methods

infix def >>>: IO[Option[SimulationState]]
Extension method from io.github.srs

Infix operator to run the simulation with the given configuration.

Infix operator to run the simulation with the given configuration.

Attributes

Returns

an IO effect that runs the simulation and returns an optional final state.

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product