Class CommonStreamQuery
java.lang.Object
org.biopax.paxtools.query.algorithm.CommonStreamQuery
Searches common downstream or common upstream of a specified set of entities
based on the given direction within the boundaries of a specified length
limit. Takes a source set of entities, direction of the query and
distance limit.
- Author:
- Ozgun Babur, Merve Cakir, Shatlyk Ashyralyev
-
Constructor Summary
ConstructorsConstructorDescriptionCommonStreamQuery(Collection<Set<Node>> sourceStateSet, Direction direction, int limit) Constructor for Common Stream with Entity States.CommonStreamQuery(Set<Node> sourceNodeSet, Direction direction, int limit) Constructor for Common Stream with Selected Nodes. -
Method Summary
-
Constructor Details
-
CommonStreamQuery
Constructor for Common Stream with Selected Nodes.- Parameters:
sourceNodeSet- Source nodesdirection- Common upstream or downstream. Cannot be bothstreamlimit- Search length limit
-
CommonStreamQuery
Constructor for Common Stream with Entity States.- Parameters:
sourceStateSet- Collection of source node setsdirection- Common upstream or downstream. Cannot be bothstreamlimit- Search length limit
-
-
Method Details
-
run
Method to run the query.- Returns:
- Common stream
-