alchemist-interfaces / it.unibo.alchemist.model.interfaces / Node / addReaction

addReaction

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

Adds a reaction to this node.

Parameters

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