createReaction

open fun createReaction(randomGenerator: RandomGenerator, environment: Environment<Any, P>, node: Node<Any>, timeDistribution: TimeDistribution<Any>, parameter: Any): Reaction<Any>

Return

a new Reaction

Parameters

randomGenerator

the random engine

environment

the environment that will host this object

node

the node that will host this object

timeDistribution

the time distribution of the reaction

parameter

a String describing the object