首页> 外文会议>International Colloquium on Automata, Languages and Programming(ICALP 2005); 20050711-15; Lisbon(PT) >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个球,并且对于固定d≥1,每个m =(1 +ε)n / d个容量为d的箱。向每个球随机分配两个可能的箱。我们证明ε>(2 / e)〜(d-1)足以确保每个球都可以高概率地放入分配给它的两个料箱之一,而不会出现任何料箱溢出的情况。此外,如果ε>γ·β〜d,对于某些常数γ> 0,β<1,则平均花费恒定时间来改变布置以容纳新球。该问题也可以用数据结构语言描述。推广布谷鸟哈希(Pagh和Rodler,2001),我们考虑一个具有m个位置的哈希表,每个位置代表一个容量为d≥1的存储桶。密钥x可以存储在存储桶h_1(x)或h_2(x)中,其中两个完整随机哈希函数h_1和h_2。对于任意ε> 0,我们获得了一个动态字典的实现,该字典在m =(1 +ε)n / d个大小为d = O(log(l /ε))的存储桶中容纳n个键。对于查找操作,仅必须评估两个哈希函数,并且必须检查d个存储单元的两个连续段。插入新密钥的预期时间是恒定的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号