alchemist-full
Toggle table of contents
37.0.1
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist-full
alchemist-api
/
it.unibo.alchemist.boundary
/
OutputMonitor
Output
Monitor
interface
OutputMonitor
<
T
,
P
:
Position
<
out
P
>
?
>
:
Serializable
(
source
)
An interface for the visualization of the simulation.
Parameters
<T>
Concentration Type
<P>
Position
Type
Members
Functions
finished
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.
initialized
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.
step
Done
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.