alchemist-interfaces / it.unibo.alchemist.model.interfaces / Incarnation / createCondition

createCondition

abstract fun createCondition(rand: RandomGenerator!, env: Environment<T, P>!, node: Node<T>!, time: TimeDistribution<T>!, reaction: Reaction<T>!, param: String!): Condition<T>!

Parameters

rand - RandomGenerator!: the random engine

env - Environment<T, P>!: the environment that will host this object

node - Node<T>!: the node that will host this object

time - TimeDistribution<T>!: the time distribution of the reaction

reaction - Reaction<T>!: the reaction hosting this object

param - String!: a String describing the object

Return
Condition<T>!: a new Condition