BDZ Algorithm


Introduction

Coming soon...


The Algorithm

Coming soon...


Mapping Step

Coming soon...


Assigning Step

Coming soon...


Ranking Step

Coming soon...


Memory Consumption

Now we detail the memory consumption to generate and to store minimal perfect hash functions using the BDZ algorithm. The structures responsible for memory consumption are in the following:

Thus, the total memory consumption of BDZ algorithm for generating a minimal perfect hash function (MPHF) is: (28.125 + 5c)n + 0.25cn + (4cn)/(2^b) + O(1) bytes. As the value of constant c may be larger than or equal to 1.23 we have:

c b Memory consumption to generate a MPHF (in bytes)
1.23 7 34.62n + O(1)
1.23 8 34.60n + O(1)

Table 1: Memory consumption to generate a MPHF using the BDZ algorithm.

Now we present the memory consumption to store the resulting function. So we have:

c b Memory consumption to store a MPHF (in bits)
1.23 7 2.77n + O(1)
1.23 8 2.61n + O(1)

Table 2: Memory consumption to store a MPHF generated by the BDZ algorithm.

Experimental Results

Experimental results to compare the BDZ algorithm with the other ones in the CMPH library are presented in Botelho, Pagh and Ziviani [1,2].


Papers

  1. F. C. Botelho, R. Pagh, N. Ziviani. Simple and space-efficient minimal perfect hash functions. 10th International Workshop on Algorithms and Data Structures (WADs'07), Springer-Verlag Lecture Notes in Computer Science, vol. 4619, Halifax, Canada, August 2007, 139-150.

  2. F. C. Botelho. Near Space-Optimal Perfect Hashing Algorithms. Thesis Proposal, Department of Computer Science, Federal University of Minas Gerais, July 2007.

Home BDZ BMZ CHM BRZ FCH

Enjoy!

Davi de Castro Reis

Djamel Belazzougui

Fabiano Cupertino Botelho