abstract fun getNodesWithinRange(center: Node<T>!, range: Double): ListSet<Node<T>!>!
Given a node (center) this method returns a list of all the surroundings nodes within the given range. Note that this method (depending on the implementation) might be not optimized and it's consequently much better to use Environment#getNeighborhood(Node) and filter the neighborhood if you are sure that all the nodes within the range are connected to the center.
center - Node<T>!: the node to consider as center
range - Double: the exploration range
Return
ListSet<Node<T>!>!: the list of nodes within the range
abstract fun getNodesWithinRange(center: P, range: Double): ListSet<Node<T>!>!
Given a Position(center) this method returns a list of all the surroundings nodes within the given range. Note that this method (depending on the implementation) might be not optimized.
center - P: the Position to consider as center
range - Double: the exploration range
Return
ListSet<Node<T>!>!: the list of nodes within the range