In a suffix automaton, a suffix link from state leads to the state containing the longest suffix of its longest represented string that lies in a different end-position equivalence class. If is the maximum represented length, state represents one string at each length from through . Following links strictly decreases length and eventually reaches the initial state.[ref]
For ababa, the state representing ababa also represents baba; its link leads to the state containing aba. This skips a suffix already in the current class. The links form a rooted tree useful for propagating occurrence counts from longer matches to shorter suffixes.

Articles by others on the same topic (0)

There are currently no matching articles.