alchemist-interfaces / it.unibo.alchemist.core.interfaces / Scheduler / addReaction

addReaction

abstract fun addReaction(r: Reaction<T>!): Unit

Adds a reaction to the data structure.

Parameters

r - Reaction<T>!: the reaction to be added