Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

3905's blog

By 3905, history, 9 years ago, In English

Can someone please explain the suffix automaton algorithm as I have read from all possible sources but still no clue. And also what does this algorithm give (I mean like in suffix array it is sorted suffixes of string).Also is Finite Automata same as suffix automaton.If no please can you mention the purpose of FA. I understood its algorithm but _ am unable to get its intuition and the purpose it's used.If someone can explain, I'll be highly obliged._ I know this is lot of work to explain but you can downvote the post if you like but please explain. Thanx .

  • Vote: I like it
  • +27
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Actually suffix automaton is acyclic directed graph of words. Every path from starting vertex will be substring of given string. As it is acyclic directed graph, it's easy to build many different dp on this graph.