-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Action,java.io.Serializable
public final class RemoveNode<T> extends AbstractAction<T>
Removes the current node from the environment.
-
-
Constructor Summary
Constructors Constructor Description RemoveNode(Environment<T, out Object> environment, Node<T> node)
-
Method Summary
Modifier and Type Method Description ContextgetContext()voidexecute()StringtoString()RemoveNode<T>cloneAction(Node<T> node, Reaction<T> reaction)-
Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractAction
getOutboundDependencies -
Methods inherited from class it.unibo.alchemist.model.interfaces.Action
getOutboundDependencies -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RemoveNode
RemoveNode(Environment<T, out Object> environment, Node<T> node)
- Parameters:
environment- the current environmentnode- the node for this action
-
-
Method Detail
-
getContext
Context getContext()
-
execute
void execute()
-
cloneAction
RemoveNode<T> cloneAction(Node<T> node, Reaction<T> reaction)
-
-
-
-