|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface SuffixTree.IVisitor
Visitor interface for traversals.
SuffixTree.VisitorAdapter| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||