ComposeMonitor

Monitor extension that uses JVM Compose UI to display the simulation.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun finished(environment: Environment<Any?, Nothing?>, time: Time, step: Long)
Link copied to clipboard
open override fun initialized(environment: Environment<Any, Nothing>)

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 it.unibo.alchemist.core.Simulation implementation.

Link copied to clipboard
open fun stepDone(environment: Environment<Any?, Nothing?>, reaction: Actionable<Any?>?, time: Time, step: Long)