execute

open override fun execute()(source)

Executes this action on a random neighbor, if the node has any; otherwise, does nothing.


abstract fun execute(neighbor: Node<T>)(source)

Executes this action on neighbor, which is not guaranteed to belong to the neighborhood of targetNode.