computeNeighborhood

abstract fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): Neighborhood<T>(source)

Produces a new neighborhood for specified node considering its position.

Return

a neighborhood

Parameters

center

the node to recompute

environment

the node's environment