interface OutputMonitor<T : Any!, P : Position<out P>!> : Serializable
An interface for the visualization of the simulation.
finished |
This method will be called by the simulation once the whole simulation has finished, either because it reached its latest point or because the user stopped it. Thread safety note: no specific policy is defined for the control flow which will execute this method. A new thread could have been spawned or the same flow of the simulation may execute this method. This depends on the specific abstract fun finished(env: Environment<T, P>!, time: Time!, step: Long): Unit |
initialized |
This method will be called by the simulation as soon as the initialization phase is completed. Thread safety note: no specific policy is defined for the control flow which will execute this method. A new thread could have been spawned or the same flow of the simulation may execute this method. This depends on the specific abstract fun initialized(env: Environment<T, P>!): Unit |
stepDone |
This method will be called by the simulation every time a simulation step is done. Thread safety note: no specific policy is defined for the control flow which will execute this method. A new thread could have been spawned or the same flow of the simulation may execute this method. This depends on the specific abstract fun stepDone(env: Environment<T, P>!, r: Reaction<T>!, time: Time!, step: Long): Unit |