-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Condition,java.io.Serializable
public final class BiomolPresentInEnv<P extends Position<out P>> extends GenericMoleculePresent<Double>
-
-
Constructor Summary
Constructors Constructor Description BiomolPresentInEnv(Environment<Double, P> env, 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 doublegetPropensityContribution()Propensity influence is computed through the binomial coefficient. BiomolPresentInEnv<P>cloneCondition(Node<Double> node, Reaction<Double> r)ContextgetContext()booleanisValid()-
Methods inherited from class it.unibo.alchemist.model.implementations.conditions.GenericMoleculePresent
getMolecule, getQuantity, toString -
Methods inherited from class it.unibo.alchemist.model.implementations.conditions.AbstractCondition
cloneCondition, getInboundDependencies, getNode, toString -
Methods inherited from class it.unibo.alchemist.model.interfaces.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> env, Node<Double> node, Biomolecule biomolecule, Double concentration)
Initialize condition for extra-cellular environment, implemented as a set of EnvironmentNode.- Parameters:
env- 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.
-
cloneCondition
BiomolPresentInEnv<P> cloneCondition(Node<Double> node, Reaction<Double> r)
-
getContext
Context getContext()
-
isValid
boolean isValid()
-
-
-
-