createCondition

open fun createCondition(randomGenerator: RandomGenerator, environment: Environment<List<ILsaMolecule>, P>, node: Node<List<ILsaMolecule>>, time: TimeDistribution<List<ILsaMolecule>>, reaction: Actionable<List<ILsaMolecule>>, additionalParameters: Any): Condition<List<ILsaMolecule>>

Return

a new Condition

Parameters

randomGenerator

the random engine

environment

the environment that will host this object

node

the node that will host this object. If it is `null` the actionable will not belong to a Node

time

the time distribution of the reaction

actionable

the actionable hosting this object

additionalParameters

a String describing the object