AbstractNeighborAction

Functions

Link copied to clipboard
abstract fun cloneAction(newNode: Node<T>, newReaction: Reaction<T>): AbstractNeighborAction<T>
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
Link copied to clipboard
open fun toString(): String