public abstract class TreeBasedTraversal extends SingleSourceSearchAlgorithm<SearchResult>
Constructor and Description |
---|
TreeBasedTraversal() |
Modifier and Type | Method and Description |
---|---|
SearchResult |
compute(Grph graph,
int source,
Grph.DIRECTION direction,
GraphSearchListener listener) |
protected SearchResult[] |
createArray(int n) |
protected abstract toools.collections.primitive.IntQueue.ACCESS_MODE |
getAccessMode() |
compute, compute, compute, compute, compute, computeDistanceMatrix, computePredecessorMatrix
cacheResultForGraph, getSourceCode
public SearchResult compute(Grph graph, int source, Grph.DIRECTION direction, GraphSearchListener listener)
compute
in class SingleSourceSearchAlgorithm<SearchResult>
protected abstract toools.collections.primitive.IntQueue.ACCESS_MODE getAccessMode()
protected SearchResult[] createArray(int n)
createArray
in class SingleSourceSearchAlgorithm<SearchResult>