io.github.srs.config
Members list
Packages
Type members
Classlikes
An enumeration of possible configuration errors that can occur during the decoding of configuration values.
An enumeration of possible configuration errors that can occur during the decoding of configuration values.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A trait for managing simulation configurations.
A trait for managing simulation configurations.
Type parameters
- F
-
the effect type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class YamlConfigManager[F]
A configuration for a simulation, containing the simulation and its environment.
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
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A configuration manager that reads a YAML file from the specified path and provides methods to save a yaml configuration.
A configuration manager that reads a YAML file from the specified path and provides methods to save a yaml configuration.
Type parameters
- F
-
the effect type
Value parameters
- path
-
the path to the YAML configuration file
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ConfigManager[F]class Objecttrait Matchableclass AnyShow all
Types
A type alias for the result of a configuration decoding operation. It represents either a successful decoding with a value of type A
or a sequence of configuration errors.
A type alias for the result of a configuration decoding operation. It represents either a successful decoding with a value of type A
or a sequence of configuration errors.
Attributes
Extensions
Extensions
Runs the simulation in headless mode if a duration is specified.
Runs the simulation in headless mode if a duration is specified.
Attributes
- Returns
-
an IO effect that yields an Option containing the final SimulationState if a duration is specified or None if the simulation runs indefinitely.