OutputMonitor

interface OutputMonitor<T, P : Position<out P>?> : Serializable(source)

An interface for the visualization of the simulation.

Parameters

<T>

Concentration Type

<P>

Functions

Link copied to clipboard
open fun finished(@Nonnull environment: Environment<T, P>, @Nonnull time: Time, step: Long)
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.
Link copied to clipboard
open fun initialized(@Nonnull environment: Environment<T, P>)
This method will be called by the simulation as soon as the initialization phase is completed.
Link copied to clipboard
open fun stepDone(@Nonnull environment: Environment<T, P>, @Nullable reaction: Actionable<T>, @Nonnull time: Time, step: Long)
This method will be called by the simulation every time a simulation step is done.