EnvironmentMonitor
class EnvironmentMonitor<T, P : Position<P>, TS : Any, PS : PositionSurrogate>(toConcentrationSurrogate: (T) -> TS, toPositionSurrogate: (P) -> PS) : OutputMonitor<T, P>
A monitor that maps an Environment into an EnvironmentSurrogate and saves it in the store.
Parameters
toConcentrationSurrogate
the mapping function from
toPositionSurrogate
the mapping function from
to
Functions
Link copied to clipboard
Call the stepDone(Environment
Link copied to clipboard
open override fun stepDone(environment: Environment<T, P>, reaction: Actionable<T>?, time: Time, step: Long)
Every time the Environment changes, map it to EnvironmentSurrogate class and save it in the store.