createReaction

abstract fun createReaction(randomGenerator: RandomGenerator, environment: Environment<T, P>, node: Node<T>, timeDistribution: TimeDistribution<T>, @Nullable parameter: Any): Reaction<T>(source)

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