abstract fun finished(env: Environment<T, P>!, time: Time!, step: Long): Unit
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. 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.interfaces.Simulation implementation.
env - Environment<T, P>!: The current environment
time - Time!: The time at which the simulation ended
step - Long: The last step number