Class AbstractCondition
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Condition
,java.io.Serializable
public abstract class AbstractCondition<T> implements Condition<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractCondition(Node<T> node)
-
Method Summary
Modifier and Type Method Description Node<T>
getNode()
Override if your Condition can return a more specific type of node. final ListSet<out Dependency>
getInboundDependencies()
How to override: if you intend your condition to be potentially changed by any change in the context, return null. Condition<T>
cloneCondition(Node<T> node, Reaction<T> reaction)
How to override: create a new action of your concrete subtype. String
toString()
-
-
Method Detail
-
getNode
Node<T> getNode()
Override if your Condition can return a more specific type of node. The typical way is to cast the call to super.getNode().
-
getInboundDependencies
final ListSet<out Dependency> getInboundDependencies()
How to override: if you intend your condition to be potentially changed by any change in the context, return null.
-
cloneCondition
Condition<T> cloneCondition(Node<T> node, Reaction<T> reaction)
How to override: create a new action of your concrete subtype.
-
-
-
-