Class PathsFromToQuery
java.lang.Object
org.biopax.paxtools.query.algorithm.PathsFromToQuery
Finds the paths from a specified source set of states or entities to a
specified target set of states or entities within the boundaries of a
specified length limit. Takes source set, target set, type of distance
limit, distance limit and strict value. Based on these parameters, the
interactions within source set and within target set may be omitted and/or
"shortest+k" may be used as length limit.
- Author:
- Ozgun Babur, Merve Cakir
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PathsFromToQuery
public PathsFromToQuery(Set<Node> sourceSet, Set<Node> targetSet, LimitType limitType, int stopDistance, boolean strict) Constructor with parameters.- Parameters:
sourceSet- source settargetSet- target setlimitType- normal limit or shortest + k type limitstopDistance- search limitstrict- whether we want to extend and result path towards other source and targets
-
-
Method Details
-
run
Executes the algorithm.- Returns:
- paths from sources to targets
-