Class ConcentrationChanged
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.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.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. 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
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()
-
-
-
-