Блог пользователя 3905

Автор 3905, история, 9 лет назад, По-английски

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 .

  • Проголосовать: нравится
  • +27
  • Проголосовать: не нравится

»
9 лет назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

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.