loadYamlSimulation

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.

Parameters

resource
the name of the file containing the simulation to load.
vars
a map specifying name-value bindings for the variables in this scenario.