computeNeighborhood

open override fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): SimpleNeighborhood<T, P>

Produces a new neighborhood for specified node considering its position.

Return

a neighborhood

Parameters

center

the node to recompute

environment

the node's environment