createAction

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

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