getNeighborhood

abstract fun getNeighborhood(center: Node<T>): Neighborhood<T>

Given a node, this method returns its neighborhood.

Return

the neighborhood

Parameters

center

The node you want the neighbors to be found