Class MoleculeHasConcentration
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Condition
,java.io.Serializable
public final class MoleculeHasConcentration<T> extends AbstractCondition<T>
A condition that is valid iff a molecule has exactly the desired concentration.
-
-
Constructor Summary
Constructors Constructor Description MoleculeHasConcentration(Node<T> node, Molecule molecule, T value)
-
Method Summary
Modifier and Type Method Description Condition<T>
cloneCondition(Node<T> node, Reaction<T> reaction)
How to override: create a new action of your concrete subtype. Context
getContext()
double
getPropensityContribution()
boolean
isValid()
String
toString()
-
Methods inherited from class it.unibo.alchemist.model.conditions.AbstractCondition
getInboundDependencies, getNode
-
Methods inherited from class it.unibo.alchemist.model.Condition
cloneCondition, getInboundDependencies, getNode, reactionReady
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
cloneCondition
Condition<T> cloneCondition(Node<T> node, Reaction<T> reaction)
How to override: create a new action of your concrete subtype.
-
getContext
Context getContext()
-
getPropensityContribution
double getPropensityContribution()
-
isValid
boolean isValid()
-
-
-
-