首页> 外文会议>International Colloquium on Automata, Languages, and Programming >Balanced Allocation and Dictionaries with Tightly Packed Constant Size Bins
【24h】

Balanced Allocation and Dictionaries with Tightly Packed Constant Size Bins

机译:平衡分配和词典,具有紧密持续的恒定箱

获取原文

摘要

We study an aspect of the balanced allocation paradigm (also known as the "two-choices paradigm"). Assume there are n balls and m = (1 + ε) n/d bins of capacity d each, for a fixed d ≥ 1. To each of the balls two possible bins are assigned at random. We show that ε > (2/e)~(d-1) is sufficient to guarantee that with high probability each ball can be put into one of the two bins assigned to it, without any bin overflowing. Further, it takes constant time on average for changing the arrangement to accommodate a new ball, if ε > γ · β~d, for some constants γ > 0, β < 1. The problem may also be described in data structure language. Generalizing cuckoo hashing (Pagh and Rodler, 2001), we consider a hash table with m positions, each representing a bucket of capacity d ≥ 1. Key x may be stored in bucket h_1(x) or h_2(x), for two fully random hash functions h_1 and h_2. For arbitrary ε > 0, we obtain an implementation of a dynamic dictionary that accommodates n keys in m = (1 + ε)n/d buckets of size d = O(log(l/ε)). For a lookup operation only two hash functions have to be evaluated and two contiguous segments of d memory cells have to be inspected. The expected time for inserting a new key is constant.
机译:我们研究了平衡分配范例的一个方面(也称为“两种选择范式”)。假设存在N个球和M =(1 +ε)的容量D的N / D箱,对于固定的d≥1。对于每个球,两个可能的箱随机分配。我们表明ε>(2 / e)〜(d-1)足以保证,在高概率下,每个球都可以放入分配给它的两个箱中的一个,而没有任何垃圾箱溢出。此外,对于改变布置以容纳新的球,如果ε>γ·β〜d,则需要恒定的时间,对于某些常数γ> 0,β<1。该问题也可以以数据结构语言描述。普通化杜鹃散列(Pagh和Rodler,2001),我们考虑一个带有M个位置的哈希表,每个哈希表代表容量d≥1.key x可以存储在铲斗h_1(x)或h_2(x)中,两个完全随机哈希函数h_1和h_2。对于任意ε> 0,我们获得动态字典的实现,该字典容纳在m =(1 +ε)n / d尺寸d = o的n / d桶中的n键(log(l /ε))。对于查找操作,只需评估两个哈希函数,并且必须检查两个DE存储器单元的两个连续段。插入新密钥的预期时间是恒定的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号