ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
SuffixAutomaton.h

The suffix automaton (the directed acyclic word graph, DAWG) of a string \( S \) of \( n \) bytes, beyond the book. More...

Files

file  ADS/string/SuffixAutomaton.h
 The suffix automaton (the directed acyclic word graph, DAWG) of a string \( S \) of \( n \) bytes, beyond the book: the smallest deterministic automaton that accepts the suffixes of \( S \), whose paths from the start spell exactly the substrings of \( S \).

Classes

class  ADS::SuffixAutomaton
 the suffix automaton of a string, built a byte at a time More...

Detailed description

The suffix automaton (the directed acyclic word graph, DAWG) of a string \( S \) of \( n \) bytes, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of strings.