Class BiomolPresentInEnv
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Condition
,java.io.Serializable
public final class BiomolPresentInEnv<P extends Position<out P>> extends GenericMoleculePresent<T>
-
-
Constructor Summary
Constructors Constructor Description BiomolPresentInEnv(Environment<Double, P> environment, Node<Double> node, Biomolecule biomolecule, Double concentration)
Initialize condition for extra-cellular environment, implemented as a set of EnvironmentNode.
-
Method Summary
Modifier and Type Method Description double
getPropensityContribution()
Propensity influence is computed through the binomial coefficient. BiomolPresentInEnv<P>
cloneCondition(Node<Double> node, Reaction<Double> r)
Context
getContext()
boolean
isValid()
-
Methods inherited from class it.unibo.alchemist.model.biochemistry.conditions.GenericMoleculePresent
getMolecule, getQuantity, toString
-
Methods inherited from class it.unibo.alchemist.model.conditions.AbstractCondition
cloneCondition, getInboundDependencies, getNode, toString
-
Methods inherited from class it.unibo.alchemist.model.Condition
getContext, getPropensityContribution, isValid, reactionReady
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BiomolPresentInEnv
BiomolPresentInEnv(Environment<Double, P> environment, Node<Double> node, Biomolecule biomolecule, Double concentration)
Initialize condition for extra-cellular environment, implemented as a set of EnvironmentNode.- Parameters:
environment
- the Environment where the node is located.node
- the node where this condition is located;biomolecule
- the Biomolecule which the condition is about.concentration
- the requested concentration.
-
-
Method Detail
-
getPropensityContribution
double getPropensityContribution()
Propensity influence is computed through the binomial coefficient. See Bernardo, Degano, Zavattaro - Formal Methods for Computational Systems Biology for the formulae.
- Returns:
the propensity influence
-
cloneCondition
BiomolPresentInEnv<P> cloneCondition(Node<Double> node, Reaction<Double> r)
-
getContext
Context getContext()
-
isValid
boolean isValid()
- Returns:
true if the concentration of the molecule is higher or equal the value.
-
-
-
-