Class SuffixTree.VisitorAdapter

    • Constructor Detail

      • VisitorAdapter

        public VisitorAdapter()
    • Method Detail

      • post

        public void post​(int state)
        Description copied from interface: SuffixTree.IVisitor
        Invoked after state is fully traversed.
        Specified by:
        post in interface SuffixTree.IVisitor
        Parameters:
        state - Identifier of the completed state.
      • edge

        public boolean edge​(int fromState,
                            int toState,
                            int startIndex,
                            int endIndex)
        Description copied from interface: SuffixTree.IVisitor
        Invoked when an edge is visited.
        Specified by:
        edge in interface SuffixTree.IVisitor
        Returns:
        Returning false skips the traversal of toState.