alchemist-interfaces / it.unibo.alchemist.model.interfaces / TimeDistribution / update

update

abstract fun update(currentTime: Time!, executed: Boolean, param: Double, environment: Environment<T, *>!): Unit

Updates the internal status.

Parameters

currentTime - Time!: current time

executed - Boolean: true if the reaction has just been executed

param - Double: a parameter passed by the reaction

environment - Environment<T, *>!: the current environment