createCondition

abstract fun createCondition(randomGenerator: RandomGenerator, environment: Environment<T, P>, @Nullable node: Node<T>, time: TimeDistribution<T>, actionable: Actionable<T>, @Nullable additionalParameters: Any): Condition<T>

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