AbstractNeighborAction

Functions

Link copied to clipboard
abstract fun cloneAction(node: Node<T>, reaction: Reaction<T>): AbstractNeighborAction<T>
This method allows to clone this action on a new node.
Link copied to clipboard
open fun execute()
Execute the action on a random neighbor if the node has a neighborhood.
abstract fun execute(targetNode: Node<T>)
Execute the action on the given target node.
Link copied to clipboard
Link copied to clipboard
fun getOutboundDependencies(): ListSet<? extends Dependency>
How to override: if you intend your action to influence any reaction with compatible context, return null.
Link copied to clipboard
open fun toString(): String