A polynomial time generator for minimal perfect hash functions
- 1 May 1985
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 28 (5) , 523-532
- https://doi.org/10.1145/3532.3538
Abstract
A perfect hash function PHF is an injection F from a set W of M objects into the set consisting of the first N nonnegative integers where N ⩾ M. If N = M, then F is a minimal perfect hash function, MPHF. PHFs are useful for the compact storage and fast retrieval of frequently used objects such as reserved words in a programming language or commonly employed words in a natural language. The mincycle algorithm for finding PHFs executes with an expected time complexity that is polynomial in M and has been used successfully on sets of cardinality up to 512. Given three pseudorandom functions h 0 , h 1 , and h 2 , the mincycle algorithm searches for a function g such that F(w) = (h 0 (w) + g ° h 1 (w) + g ° h 2 (w)) mod N is a PHF.Keywords
This publication has 5 references indexed in Scilit:
- Reciprocal hashingCommunications of the ACM, 1981
- Minimal perfect hash functions made simpleCommunications of the ACM, 1980
- Perfect hashing functionsCommunications of the ACM, 1977
- GRAPH THEORYPublished by Defense Technical Information Center (DTIC) ,1969
- Relativ Frequency of English Speech SoundsPublished by Harvard University Press ,1923