getNeighbors

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

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