Class NetPathWithin<T>
- java.lang.Object
-
- repast.simphony.query.space.graph.NetPathWithin<T>
-
-
Constructor Summary
Constructors Constructor Description NetPathWithin(Context<T> context, T obj, double distance)
Creates a NetPathWithin query that returns all nodes within the specified path length of the specified node in all the networks in the specified context.NetPathWithin(Network<T> network, T obj, double distance)
Creates a NetPathWithin query that returns all nodes within the specified path length of the specified node in the specified network.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<T>
query()
Gets an iterable over all the nodes within the path length of the target node as specified in the constructor.Iterable<T>
query(Iterable<T> set)
Gets an iterable over all the nodes within the path length of the target node as specified in the constructor AND where those nodes are members of the iterable parameter.
-
-
-
Method Detail
-
query
public Iterable<T> query()
Gets an iterable over all the nodes within the path length of the target node as specified in the constructor.
-
-