createCondition

open fun createCondition(randomGenerator: RandomGenerator, environment: Environment<Double, Euclidean2DPosition>, node: Node<Double>, time: TimeDistribution<Double>, actionable: Actionable<Double>, additionalParameters: Any): Condition<Double>

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