getNodesWithinRange
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 getNeighborhood and filter the neighborhood if you are sure that all the nodes within the range are connected to the center.
Return
the list of nodes within the range
Parameters
center
the node to consider as center
range
the exploration range
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.
Return
the list of nodes within the range
Parameters
center
the Position to consider as center
range
the exploration range