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

The Patricia trie with the blind search of Ferragina and Grossi, beyond the book. More...

Files

file  ADS/dictionary/PatriciaTrie.h
 The Patricia trie with the blind search of Ferragina and Grossi, beyond the book: the compacted trie of a sorted dictionary of \( n \) strings [see RadixTree in Trie.h, whose edges keep their whole labels] stripped of the labels, each edge keeping only its first character (the branching one) and each node the length of the prefix it stands for, so that it takes \( O( n ) \) space whatever the length of the strings, which are stored apart (e.g., on disk).

Classes

class  ADS::PatriciaTrie
 a sorted dictionary of strings on a Patricia trie, with the blind search More...

Detailed description

The Patricia trie with the blind search of Ferragina and Grossi, beyond the book.

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