Class NeighborhoodQuery

java.lang.Object
org.biopax.paxtools.query.algorithm.NeighborhoodQuery

public class NeighborhoodQuery extends Object
Searches the neighborhood of given source set of nodes
Author:
Shatlyk Ashyralyev
  • Constructor Details

    • NeighborhoodQuery

      public NeighborhoodQuery(Set<Node> sourceNodes, Direction direction, int limit)
      Constructor with parameters.
      Parameters:
      sourceNodes - Seed to the query
      direction - Direction of the search
      limit - Distance limit
  • Method Details

    • run

      public Set<GraphObject> run()
      Executes the query.
      Returns:
      Neighborhood