On the analysis of linear probing hashing

被引:99
作者
Flajolet, P
Poblete, P
Viola, A
机构
[1] Univ Chile, Dept Comp Sci, Santiago, Chile
[2] Pedeciba Informat, Montevideo, Uruguay
关键词
analysis of algorithms; hashing; linear probing; parking problem airy functions;
D O I
10.1007/PL00009236
中图分类号
TP31 [计算机软件];
学科分类号
081202 [计算机软件与理论]; 0835 [软件工程];
摘要
This paper presents moment analyses and characterizations of limit distributions for the construction cost of hash tables under the linear probing strategy. Two models are considered, that of full tables and that of sparse tables with a fixed tilling ratio strictly smaller than one. For full tables, the construction cost has expectation O(n(3/2)), the standard deviation is of the same order, and a limit law of the Airy type holds. (The Airy distribution is a semiclassical distribution that is defined in terms of the usual Airy functions or equivalently in terms of Bessel functions of indices -1/3, 2/3.) For sparse tables, the construction cost has expectation O(n), standard deviation O(root n), and a limit law of the Gaussian type. Combinatorial relations with other problems leading to Airy phenomena (like graph connectivity, tree inversions, tree path length, or area under excursions) are also briefly discussed.
引用
收藏
页码:490 / 515
页数:26
相关论文
共 51 条
[1]
[Anonymous], 1973, SORTING SEARCHING
[2]
[Anonymous], 1991, J APPL MATH STOCHAST
[3]
[Anonymous], 1970, CANADIAN MATH MONOGR
[4]
[Anonymous], 1983, COMBINATORIAL ENUMER
[5]
[Anonymous], J APPL MATH STOCHAST
[6]
[Anonymous], ACTA SCI MATH SZEGED
[7]
Berndt B. C., 1989, Ramanujan's Notebooks
[8]
Broder Andrei, 1985, COMBINATORIAL ALGORI, P229, DOI [10.1007/978-3-642-82456-2_15, DOI 10.1007/978-3-642-82456-2_15]
[9]
DBRUIJN NG, 1981, ASYMPTOTIC METHODS A
[10]
SINGULARITY ANALYSIS OF GENERATING-FUNCTIONS [J].
FLAJOLET, P ;
ODLYZKO, A .
SIAM JOURNAL ON DISCRETE MATHEMATICS, 1990, 3 (02) :216-240