AlchemistTesting

Functions

Link copied to clipboard
fun <T> createEmptyEnvironment(vararg outputMonitors: OutputMonitor<T, Euclidean2DPosition> = emptyArray()): Continuous2DEnvironment<T>

Builds an empty environment, building a simulation Engine, and binding them. Optionally, some OutputMonitors can be provided.

Link copied to clipboard
fun <T, P : Position<P>> loadAlchemist(simulationResource: String, variables: Map<String, *> = emptyMap<String, Nothing>()): Simulation<T, P>

Prepares a Simulation given a simulationResource and, optionally, the variables' bindings.

Link copied to clipboard
fun loadAlchemistFromResource(simulationResource: String): Loader

Prepares a Loader given a simulationResource.

Link copied to clipboard

Runs an existing Simulation in the current thread.

Link copied to clipboard