arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.14394cs.DSmath.CO
收藏

在负载阈值内实现随机游走 d-ary 鸽巢 hashing 的 O(1) 插入

O(1) Expected Insertion for Random Walk d-ary Cuckoo Hashing up to the Load Threshold

Carnegie Mellon University(卡内基梅隆大学)

Tolson Bell, Alan Frieze

AI总结:

本文提出了一种在负载阈值内实现随机游走 d-ary 鸽巢 hashing 的 O(1) 插入算法,通过理论分析证明了插入时间的期望为常数。

摘要:

随机游走 d-ary 鸽巢 hashing 算法由 Fotakis、Pagh、Sanders 和 Spirakis 定义,旨在推广和改进 Pagh 和 Rodler 的标准鸽巢 hashing 算法。该算法具有低空间开销、保证的快速访问和实际插入时间快的特点。在本文中,我们为该算法给出了理论插入时间界。更具体地说,对于每一个 d≥3 的随机哈希,令 c_d* 为负载因子在该值时,存在高概率将 cm 个对象分配到大小为 m 的哈希表中的精确阈值。我们证明,对于任何 d≥3 的哈希和负载因子 c < c_d*,随机游走插入时间的期望值为 O(1),即仅依赖于 d 和 c 的常数,而不依赖于 m。\n\n

英文摘要:

The random walk $d$-ary cuckoo hashing algorithm was defined by Fotakis, Pagh, Sanders, and Spirakis to generalize and improve upon the standard cuckoo hashing algorithm of Pagh and Rodler. Random walk $d$-ary cuckoo hashing has low space overhead, guaranteed fast access, and fast in practice insertion time. In this paper, we give a theoretical insertion time bound for this algorithm. More precisely, for every $d\ge 3$ random hashes, let $c_d^*$ be the sharp threshold for the load factor at which a valid assignment of $cm$ objects to a hash table of size $m$ exists with high probability. We show that for any $d\ge 3$ hashes and load factor $c<c_d^*$, the expectation of the random walk insertion time is $O(1)$, that is, a constant depending only on $d$ and $c$ but not $m$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑