-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Condition,java.io.Serializable
public final class EnvPresent extends AbstractCondition<Double>
-
-
Constructor Summary
Constructors Constructor Description EnvPresent(Environment<Double, out Object> env, Node<Double> node)
-
Method Summary
Modifier and Type Method Description EnvPresentcloneCondition(Node<Double> node, Reaction<Double> reaction)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
reactionReady -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EnvPresent
EnvPresent(Environment<Double, out Object> env, Node<Double> node)
- Parameters:
env- the environmentnode- the node
-
-
Method Detail
-
cloneCondition
EnvPresent cloneCondition(Node<Double> node, Reaction<Double> reaction)
-
getContext
Context getContext()
-
getPropensityContribution
double getPropensityContribution()
-
isValid
boolean isValid()
-
-
-
-