-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Condition,java.io.Serializable
public final class NoOtherReactionCanExecute<T extends Object> extends AbstractNonPropensityContributingCondition<T>
The condition is valid if all the other reactions having at least one condition can not execute. This condition can be used only in a single reaction per node, as multiple instances would lead to undecidable situations.
-
-
Constructor Summary
Constructors Constructor Description NoOtherReactionCanExecute(Node<T> node, Reaction<T> myReaction)
-
Method Summary
Modifier and Type Method Description NoOtherReactionCanExecute<T>cloneCondition(Node<T> node, Reaction<T> reaction)How to override: create a new action of your concrete subtype. ContextgetContext()BooleanisValid()-
Methods inherited from class it.unibo.alchemist.model.implementations.conditions.NoOtherReactionCanExecute
getPropensityContribution -
Methods inherited from class it.unibo.alchemist.model.implementations.conditions.AbstractNonPropensityContributingCondition
declareDependencyOn, getInboundDependencies, getNode, toString -
Methods inherited from class it.unibo.alchemist.model.implementations.conditions.AbstractCondition
reactionReady -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
cloneCondition
NoOtherReactionCanExecute<T> cloneCondition(Node<T> node, Reaction<T> reaction)
How to override: create a new action of your concrete subtype.
-
getContext
Context getContext()
-
-
-
-