loadYamlSimulation

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

Loads a simulation from a YAML file.

Return

the loaded Simulation

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

Type Parameters

T

the concentration type

P

the position/vector type