Class ContainsMolecule
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Condition
,java.io.Serializable
public final class ContainsMolecule<T extends Object> extends AbstractNonPropensityContributingCondition<T>
The condition is valid if the node contains the molecule.
-
-
Constructor Summary
Constructors Constructor Description ContainsMolecule(Node<T> node, Molecule molecule)
-
Method Summary
Modifier and Type Method Description Context
getContext()
Boolean
isValid()
-
Methods inherited from class it.unibo.alchemist.model.conditions.AbstractCondition
cloneCondition, getInboundDependencies, getNode, toString
-
Methods inherited from class it.unibo.alchemist.model.conditions.AbstractNonPropensityContributingCondition
getPropensityContribution
-
Methods inherited from class it.unibo.alchemist.model.Condition
reactionReady
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-