alchemist
24.0.7-dev06+b76482905
alchemist-api
/
it.unibo.alchemist.boundary.interfaces
/
OutputMonitor
Output
Monitor
interface
OutputMonitor
<
T
,
P
:
Position
<
out
P
>
?
>
:
Serializable
Content copied to clipboard
An interface for the visualization of the simulation.
Functions
Parameters
Parameters
<T>
Concentration Type
<P>
Position
Type
Functions
finished
Link copied to clipboard
open
fun
finished
(
@
Nonnull
environment
:
Environment
<
T
,
P
>
,
@
Nonnull
time
:
Time
,
step
:
Long
)
Content copied to clipboard
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
>
)
Content copied to clipboard
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
)
Content copied to clipboard
This method will be called by the simulation every time a simulation step is done.