Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class GlobalTestReaction<T>(val timeDistribution: TimeDistribution<T>, val environment: Environment<T, *>) : GlobalReaction<T>

Functions

Link copied to clipboard
fun <T, P : Position<P>, Vector<P>> loadYamlSimulation(resource: String, vars: Map<String, Double> = emptyMap()): Simulation<T, P>

Loads a simulation from a YAML file.

Link copied to clipboard
fun <T, P : Position<P>, Vector<P>> Simulation<T, P>.startSimulation(onceInitialized: (EuclideanEnvironment<T, P>) -> Unit = { }, atEachStep: (EuclideanEnvironment<T, P>, Actionable<T>?, Time, Long) -> Unit = { _, _, _, _ -> }, whenFinished: (EuclideanEnvironment<T, P>, Time, Long) -> Unit = { _, _, _ -> }, steps: Long = 10000): EuclideanEnvironment<T, P>

Run the simulation this environment owns.