public static interface SuffixTree.IVisitor
SuffixTree.VisitorAdapter| Modifier and Type | Method and Description |
|---|---|
boolean |
edge(int fromState,
int toState,
int startIndex,
int endIndex)
Invoked when an edge is visited.
|
void |
post(int state)
Invoked after
state is fully traversed. |
boolean |
pre(int state)
Invoked before
state is descended into. |
boolean pre(int state)
state is descended into.false omits the subtree of state.
post(int) is not invoked for this state if skipped.void post(int state)
state is fully traversed.state - Identifier of the completed state.boolean edge(int fromState,
int toState,
int startIndex,
int endIndex)
false skips the traversal of
toState.