getNeighbors

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

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

Return

the java.util.List of the neighbors