public class HierarchicalQueryTracker<T>
extends java.lang.Object
Query
as it traverses through a graph
hierarchy.Modifier and Type | Field and Description |
---|---|
java.util.List<java.util.List<Path<Feature,T>>> |
results |
Constructor and Description |
---|
HierarchicalQueryTracker(Vertex<Feature,T> root,
int numFeatures) |
Modifier and Type | Method and Description |
---|---|
void |
addResults(Path<Feature,T> previousPath,
java.util.Collection<Vertex<Feature,T>> results) |
int |
getCurrentLevel()
Retrieves the current level being processed.
|
java.util.List<Path<Feature,T>> |
getCurrentResults()
Retrieves the results that are currently being processed.
|
java.util.List<Path<Feature,T>> |
getQueryResults() |
void |
markEvaluated() |
void |
nextLevel() |
java.lang.String |
toString() |
public void addResults(Path<Feature,T> previousPath, java.util.Collection<Vertex<Feature,T>> results)
public void nextLevel()
public int getCurrentLevel()
public java.util.List<Path<Feature,T>> getCurrentResults()
public void markEvaluated()
public java.lang.String toString()
toString
in class java.lang.Object