Graphical2DOutputMonitor

Deprecated

An output monitor that supports zooming on bidimensional environments.

Parameters

<P>

position type

<T>

concentration type

Inheritors

Functions

Link copied to clipboard
open fun finished(environment: Environment<T, P>, 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
abstract fun getStep(): Int
Link copied to clipboard
open fun initialized(environment: Environment<T, P>)
This method will be called by the simulation as soon as the initialization phase is completed.
Link copied to clipboard
abstract fun isRealTime(): Boolean
Link copied to clipboard
abstract fun repaint()
Repaints the GUI.
Link copied to clipboard
abstract fun setDrawLinks(b: Boolean)
Link copied to clipboard
abstract fun setEffectStack(l: List<Effect>)
Link copied to clipboard
abstract fun setMarkCloserNode(mark: Boolean)
If set, the node closer to the mouse will be put in evidence.
Link copied to clipboard
abstract fun setRealTime(rt: Boolean)
If enabled, the monitor tries to synchronize the simulation time with the real time, slowing down the simulator if needed.
Link copied to clipboard
abstract fun setStep(step: Int)
Link copied to clipboard
open fun stepDone(environment: Environment<T, P>, reaction: Actionable<T>, time: Time, step: Long)
This method will be called by the simulation every time a simulation step is done.
Link copied to clipboard
abstract fun zoomTo(center: P, zoomLevel: Double)