期刊文献+

一种高效的散列查询算法 被引量:2

An Efficient Hash Enquires Algorithm
在线阅读 下载PDF
导出
摘要 散列函数在查询算法中起着重要作用,基于此的查询算法在理论上可达到常数级时间复杂度。提出了双次线性映射散列函数,和除留余数法、平方取中法、折叠法等常用的散列函数相比,该函数具有单调性,并在一定程度上消除了堆积现象;和线性散列函数相比,该函数具有受数据分布特性影响小,易推广的特点。通过该散列函数,一个待查元素可以在有序序列中被定位到离真实位置偏差很小的范围之内。基于此提出了一种高效的查询算法。 Hash function plays an important role in the query algorithm, and the query algorithms based on it achieves a constant time complexity in theory. This paper proposes a new hash function, which is called double linear mapping hash function, compared with the prior ways, such as division, mid-square, folding, it has the character of monotonic, and reduce the probability of clustering, which is thought to be one of the major drags of hash query. Compared with linear hash functions, it's insensitive to data distribution, which make it easier to generalize. Moreover, with the help of this new kind of hash function, the element can be located in a small range beside its real position in sorted sequence.
作者 郑德舜
出处 《南京邮电大学学报(自然科学版)》 2006年第2期92-96,共5页 Journal of Nanjing University of Posts and Telecommunications:Natural Science Edition
关键词 查询算法 散列函数 散列排序 二次线性映射散列函数 堆积 数据分布 Query algorithm Hash function Hash sort Double linear mapping hash function Clustering Data distribution
  • 相关文献

参考文献6

二级参考文献18

  • 1杨大顺,陶明华,顾芸瑛,薛峰.按字节桶分配链接排序法[J].计算机研究与发展,1996,33(2):132-139. 被引量:15
  • 2杨大顺,陶明华,丁青,顾芸瑛.二次链接桶排序法[J].计算机研究与发展,1996,33(12):881-886. 被引量:6
  • 3钟诚.“分级快速排序法研究”的研究[J].计算机工程与应用,1997,33(4):40-42. 被引量:3
  • 4王福保.概率论及数理统计,第三版[M].同济大学出版社,1998..
  • 5四川大学数学系.高等数学,第二册[M].人民教育出版社,1978..
  • 6复旦大学.概率论,第一册[M].人民教育出版社,1979.169.
  • 7王福保.概率论及数理系统,第三版[M].同济大学出版社,1998.69.
  • 8DONGARRA J. The top 10 algorithms[J]. IEEE Computing in Science & Engineering, 2000,2(1): 22--23.
  • 9CAR H. Quicksort[J]. The computer J, 1962, 15(1): 10--15.
  • 10DONALD E K. Sorting and searching[J]. The Art of Computer Programming, 1973, (3):145--158.

共引文献15

同被引文献30

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部