Class ChangeBiomolConcentrationInEnv
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public final class ChangeBiomolConcentrationInEnv extends AbstractRandomizableAction<T>
Action implementing the changing of the concentration of a given biomolecule in environment.
-
-
Constructor Summary
Constructors Constructor Description ChangeBiomolConcentrationInEnv(Environment<Double, out Object> environment, Node<Double> node, Biomolecule biomolecule, double deltaCon, RandomGenerator randomGen)
Initialize a new Action that change concentration of the given Biomolecule of a "deltaCon" quantity. ChangeBiomolConcentrationInEnv(Node<Double> node, Biomolecule biomolecule, Environment<Double, out Object> environment, RandomGenerator randomGen)
Initialize a ChangeBiomolConcentrationInEnv with delta = -1.
-
Method Summary
-
-
Constructor Detail
-
ChangeBiomolConcentrationInEnv
ChangeBiomolConcentrationInEnv(Environment<Double, out Object> environment, Node<Double> node, Biomolecule biomolecule, double deltaCon, RandomGenerator randomGen)
Initialize a new Action that change concentration of the given Biomolecule of a "deltaCon" quantity.- Parameters:
environment
- the Environment where the node is located.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 BiomoleculerandomGen
- the random generator
-
ChangeBiomolConcentrationInEnv
ChangeBiomolConcentrationInEnv(Node<Double> node, Biomolecule biomolecule, Environment<Double, out Object> environment, RandomGenerator randomGen)
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
-
-
-
-