Cover Page    Full-Text Download    
Subscribe Now
Recommend the Paper
A Simulated Annealing Algorithm for Generating Minimal Perfect Hash Functions  
Ahmed El-Kishky1,Stephen Macke2,Roger Wainwright3
*1, The University of Tulsa, Email : ahmed-el-kishky@utulsa.edu
2, The University of Tulsa, Email : stephen-macke@utulsa.edu
3, The University of Tulsa, Email : rogerw@utulsa.edu
 
Abstract .We developed minimal perfect hash functions for a variety of datasets using the probabilistic process of simulated annealing (SA). The SA solution structure is a tree representing an annealed program (algorithm). This solution structure is similar to the structure used in genetic programming. When executed, the SA program produces multiple hash functions for the given data set. An initial hash function called the distribution function is generated. This function attempts to uniformly place the keys into bins in preparation for a minimal perfect hash function determined later. For each trial, and for every data set of various size tested, our algorithm annealed a minimal perfect hash function. Our algorithm is applied to datasets of strings from the English language and to a list of URL's. Bloat control is used to ensure a small fixed depth limit to our solution, to simplify function complexity, and to ensure fast evaluation. Experimental results show that our algorithm generates hash functions which outperform both widely known non-minimal, non-perfect hashing schemes as well as other recent algorithms from the literature.
 
Keywords : Genetic Programming ; Simulated Annealing ; Minimal Perfect Hash Function ; Hashing
 URL: http://dx.doi.org/10.7321/jscse.v3.n3.56  
 
 

Subscribe Now

Email :    
Subscribe to receive free TOC's JSCSE by email
Subscribe

Recommend To Friend

Email :     People