首页> 外文会议>Workshop on Algorithm Engineering and Experiments >Compact Dynamic Rewritable (CDRW) Arrays
【24h】

Compact Dynamic Rewritable (CDRW) Arrays

机译:紧凑的动态可重写(CDRW)阵列

获取原文

摘要

In this paper we consider the problem of compactly representing a rewritable array of bit-strings. The operations supported are: create(N, k), which creates a new array of size N, where each entry is of size at most k bits and equal to 0; set(i,v), which sets A[i] to v, provided that v is at most k bits long and get(i) which returns the value of A[i]. Our aim is to approach the minimum possible space bound of S = ∑_(i=0)~(N-1)|A[i]|, where |A[i]| ≥ 1 is the length in bits of the number in A[i], while simultaneously supporting operations in O(1) time. We call such a data structure a Compact Dynamic Rewriteable Array (CDRW) array. On the word RAM model with word size w, for n < 2~ω and k ≤ ω, we give practical solutions based on compact hashing that achieve O(1/ε) expected time for get and set and use (1 + ε)S + O(N) bits, for any constant ε > 0. Experimental evaluation of our (preliminary, only somewhat optimized) implementations shows excellent performance in terms of both space and time, particularly when heuristics are added to our base algorithms.
机译:在本文中,我们考虑了紧凑地代表可重写的位字符串阵列的问题。支持的操作是:创建(n,k),它创建一个尺寸n的新阵列,其中每个条目的大小为大多数k位和等于0;设置(i,v)设置一个[i]到v,只要v即将到达大多数k位并且get(i)返回a [i]的值。我们的目的是接近S =Σ_(i = 0)〜(n-1)的最小可能空间〜(n-1)| [i] |,其中a [i] | ≥1是[i]中的数字的长度,同时支持O(1)时间的操作。我们称这种数据结构是一个紧凑的动态可重写阵列(CDRW)阵列。在具有字尺寸W的单词RAM模型上,对于N <2〜ω和k≤Ω,我们基于紧凑型散列提供了实用的解决方案,实现了GET和SET和UNDER(1 +ε)的预期时间(1±ε) S + O(n)位,对于任何常数ε> 0.我们(初步,只有一些优化)实现的实验评估表明,在空间和时间方面表现出出色的性能,特别是当提发物中添加到我们的基础算法时。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号