ChangeBiomolConcentrationInEnv

constructor(environment: Environment<Double, out Any>, node: Node<Double>, biomolecule: Biomolecule, deltaCon: Double, randomGen: RandomGenerator)(source)

Initialize a new Action that change concentration of the given Biomolecule of a "deltaCon" quantity.

Parameters

node

the Node where this action is located.

biomolecule

the Biomolecule which concentration will be changed.

deltaCon

the quantity to add to actual concentration of Biomolecule

environment

the Environment where the node is located.

randomGen

the random generator


constructor(node: Node<Double>, biomolecule: Biomolecule, environment: Environment<Double, out Any>, randomGen: RandomGenerator)(source)

Initialize a ChangeBiomolConcentrationInEnv with delta = -1.

Parameters

node

node the Node where this action is located.

biomolecule

the Biomolecule which concentration will be changed.

environment

environment the Environment where the node is located.

randomGen

the random generator