Hashtable- Rehashing

强颜欢笑 提交于 2019-12-05 03:54:16

Random selection of a hash function is know as Universal Hashing approach. AFAIK the hash function selected once per some initialization process so this is not a real case when in scope of a single hash table were used multiple hash functions.

EDIT: More details

Just back at home, opened "Introduction to algorithms" T. Cormen book and found following in the section 11.3.3 Universal Hashing:

The main idea behind universal hashing is to select the hash function at random from a carefully designed class of functions at the beginning of execution

You can read more by previewing the book at the Google Books site here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!