Change Biomol Concentration In Env
constructor(environment: Environment<Double, out Any>, node: Node<Double>, biomolecule: Biomolecule, deltaCon: Double, randomGen: RandomGenerator)
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.
delta Con
the quantity to add to actual concentration of Biomolecule
environment
the Environment where the node is located.
random Gen
the random generator
constructor(node: Node<Double>, biomolecule: Biomolecule, environment: Environment<Double, out Any>, randomGen: RandomGenerator)
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.
random Gen
the random generator