|
ADS
Algorithms and Data Structures
|
The minimal perfect hash function of ADS by recursive splitting, the RecSplit of Esposito, Mueller Graf and Vigna, beyond the book. More...
Files | |
| file | ADS/dictionary/RecSplit.h |
| The minimal perfect hash function of ADS by recursive splitting, the RecSplit of Esposito, Mueller Graf and Vigna, beyond the book [see MinimalPerfectHash.h for the one by pilots, faster but about 3 bits per key]: a function that maps the \( n \) distinct keys of a static set \( S \) onto \( \{ 0 , \ldots , n - 1 \} \) with no collision in about 1.8 bits per key for the leaves of 8 keys and the buckets of 100, against the lower bound of \( \log_2 e \approx 1.4427 \) bits per key of any minimal perfect hash function. | |
Classes | |
| class | ADS::RecSplit< T, L, H > |
| a minimal perfect hash function of a static set of keys by recursive splitting, with leaves of at most L keys More... | |
The minimal perfect hash function of ADS by recursive splitting, the RecSplit of Esposito, Mueller Graf and Vigna, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of dictionaries.