createAction

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

Return

a new Action

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