alchemist
Toggle table of contents
42.3.12
alldocs
Target filter
alldocs
Switch theme
Search in API
Skip to content
alchemist
alchemist
/
it.unibo.alchemist.boundary
/
OutputMonitor
Output
Monitor
alldocs
interface
OutputMonitor
<
T
,
P
:
Position
<
out
P
>
?
>
:
Serializable
An interface for the visualization of the simulation.
Parameters
<T>
Concentration Type
<P>
Position
Type
Inheritors
GraphicalOutputMonitor
TimeStepMonitor
NodeTracker
ComposeMonitor
EnvironmentSubscriptionMonitor
GraphQLMonitor
GlobalExporter
EnvironmentMonitor
Members
Functions
finished
Link copied to clipboard
alldocs
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
alldocs
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
alldocs
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.