Class Prune
java.lang.Object
org.biopax.paxtools.query.algorithm.Prune
This algorithm is used internally by PathsBetween and PathsFromTo algorithms. It detects objects
in the result set that are not on a path from source to target (called dangling), and removes
these nodes from the result set. Dangling objects appear after breaking cycles.
- Author:
- Ozgun Babur
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Prune
Constructor with the input.- Parameters:
result- The result setST- Source and target nodes
-
-
Method Details
-
run
Executes the algorithm.- Returns:
- the pruned graph
-