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

update

abstract fun update(curTime: Time!, executed: Boolean, env: Environment<T, *>!): Unit

Updates the scheduling of this reaction.

Parameters

executed - Boolean: true if the reaction have just been executed.

curTime - Time!: the current Time of execution. This is mandatory in order to correctly compute the time shift of an already-scheduled reaction

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