-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Condition,java.io.Serializable
public final class ConcentrationChanged<T> extends AbstractCondition<T>
A condition that holds true only if the tracked Molecule changed its it.unibo.alchemist.model.interfaces.Concentration.
-
-
Constructor Summary
Constructors Constructor Description ConcentrationChanged(Node<T> node, Molecule target)
-
Method Summary
Modifier and Type Method Description ConcentrationChanged<T>cloneCondition(Node<T> node, Reaction<T> reaction)How to override: create a new action of your concrete subtype. ContextgetContext()doublegetPropensityContribution()booleanisValid()StringtoString()-
Methods inherited from class it.unibo.alchemist.model.implementations.conditions.AbstractCondition
getInboundDependencies, getNode -
Methods inherited from class it.unibo.alchemist.model.interfaces.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
ConcentrationChanged<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()
-
-
-
-