|
ADS
Algorithms and Data Structures
|
The minimal perfect hash function of ADS by pilots, the method of PTHash of Pibiri and Trani, beyond the book. More...
Files | |
| file | ADS/dictionary/MinimalPerfectHash.h |
| The minimal perfect hash function of ADS by pilots, the method of PTHash of Pibiri and Trani, beyond the book [see PerfectHashing.h for the schemes of Fredman, Komlós and Szemerédi and of Czech, Havas and Majewski]: a function that maps the \( n \) distinct keys of a static set \( S \) onto \( \{ 0 , \ldots , n - 1 \} \) with no collision, in a few bits per key (about 3 for the default parameters) and with two accesses to memory per evaluation. | |
Classes | |
| class | ADS::MinimalPerfectHash< T, H > |
| a minimal perfect hash function of a static set of keys by pilots More... | |
The minimal perfect hash function of ADS by pilots, the method of PTHash of Pibiri and Trani, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of dictionaries.