首页 | 本学科首页   官方微博 | 高级检索  
     

一种高效的散列查询算法
引用本文:郑德舜. 一种高效的散列查询算法[J]. 南京邮电大学学报(自然科学版), 2006, 26(2): 92-96
作者姓名:郑德舜
作者单位:南京邮电大学,通信与信息工程学院,江苏,南京,210003
摘    要:散列函数在查询算法中起着重要作用,基于此的查询算法在理论上可达到常数级时间复杂度。提出了双次线性映射散列函数,和除留余数法、平方取中法、折叠法等常用的散列函数相比,该函数具有单调性,并在一定程度上消除了堆积现象;和线性散列函数相比,该函数具有受数据分布特性影响小,易推广的特点。通过该散列函数,一个待查元素可以在有序序列中被定位到离真实位置偏差很小的范围之内。基于此提出了一种高效的查询算法。

关 键 词:查询算法  散列函数  散列排序  二次线性映射散列函数  堆积  数据分布
文章编号:1673-5439(2006)02-0092-05
收稿时间:2005-08-29
修稿时间:2006-01-10

An Efficient Hash Enquires Algorithm
ZHENG De-shun. An Efficient Hash Enquires Algorithm[J]. JJournal of Nanjing University of Posts and Telecommunications, 2006, 26(2): 92-96
Authors:ZHENG De-shun
Affiliation:College of Communication and Information Engineering, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
Abstract: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.
Keywords:Query algorithm   Hash function   Hash sort   Double linear mapping hash function   Clustering   Data distribution
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号