getNeighbors

abstract fun getNeighbors(): ListSet<out Node<T>>

Allows to directly access every node in the neighborhood. A change of this List will be reflected in the neighborhood.

Return

the list of the neighbors