Authors
Djamal Belazzougui, Paolo Boldi, Rasmus Pagh, Sebastiano Vigna
Publication date
2009/1/4
Book
Proceedings of the twentieth annual ACM-SIAM symposium on Discrete algorithms
Pages
785-794
Publisher
Society for Industrial and Applied Mathematics
Description
A minimal perfect hash function maps a set S of n keys into the set {0, 1, …, n − 1} bijectively. Classical results state that minimal perfect hashing is possible in constant time using a structure occupying space close to the lower bound of log e bits per element. Here we consider the problem of monotone minimal perfect hashing, in which the bijection is required to preserve the lexicographical ordering of the keys. A monotone minimal perfect hash function can be seen as a very weak form of index that provides ranking just on the set S (and answers randomly outside of S). Our goal is to minimise the description size of the hash function: we show that, for a set S of n elements out of a universe of 2w elements, O(n log log w) bits are sufficient to hash monotonically with evaluation time O(log w). Alternatively, we can get space O(n log w) bits with O(1) query time. Both of these data structures improve a straightforward …
Total citations
200820092010201120122013201420152016201720182019202020212022202320241146121411159117498175
Scholar articles
D Belazzougui, P Boldi, R Pagh, S Vigna - Proceedings of the twentieth annual ACM-SIAM …, 2009