Engine
Represents a simulation engine that manages execution and scheduling. Provides multiple factory methods to simplify the creation process.
Parameters
the concentration type
the position type, extending Position
Inheritors
Functions
Adds an output monitor to track simulation events.
Moves the simulation forward until the given step is reached.
Moves the simulation forward until the given time is reached.
Registers a newly added neighbor.
Registers a removed neighbor.
Handles the removal of a node.
Pauses the simulation.
Resumes the simulation.
Registers a newly added reaction.
Registers a removed reaction.
Runs an existing Simulation in the current thread.
Schedules a task for execution.
Schedules a runnable to be executed by the Simulation thread, useful for synchronization purposes (e.g. make sure that the environment is not being changed while the requested operation is being executed). An exception thrown by the passed runnable will make the simulation terminate.
Run the simulation this environment owns.
Terminates the simulation.
Converts a Simulation to a SimulationSurrogate.