Class NeighborhoodQuery
java.lang.Object
org.biopax.paxtools.query.algorithm.NeighborhoodQuery
Searches the neighborhood of given source set of nodes
- Author:
- Shatlyk Ashyralyev
-
Constructor Summary
ConstructorsConstructorDescriptionNeighborhoodQuery(Set<Node> sourceNodes, Direction direction, int limit) Constructor with parameters. -
Method Summary
-
Constructor Details
-
NeighborhoodQuery
Constructor with parameters.- Parameters:
sourceNodes- Seed to the querydirection- Direction of the searchlimit- Distance limit
-
-
Method Details
-
run
Executes the query.- Returns:
- Neighborhood
-