Engine
This class implements a simulation. It offers a wide number of static factories to ease the creation process.
Parameters
<T>
concentration type
<P>
Position type
Inheritors
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns output monitors.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
pause.
Link copied to clipboard
play.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Runs an existing Simulation in the current thread.
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.
Link copied to clipboard
terminate.
Link copied to clipboard
Link copied to clipboard
fun <T, P : Position<out P>> Simulation<T, P>.toGraphQLSimulationSurrogate(): SimulationSurrogate<T, P>
Converts a Simulation to a SimulationSurrogate.