首页> 外文会议>Data compression conference >Range Selection Queries in Data Aware Space and Time
【24h】

Range Selection Queries in Data Aware Space and Time

机译:数据感知空间和时间中的范围选择查询

获取原文

摘要

On a given vector X = (x, x,..., x) of integers, the range selection (i, j, k) query is finding the k-th smallest integer in (x, x,..., x) for any (i, j, k) such that 1 ≤ i ≤ j ≤ n, and 1 ≤ k ≤ j - i + 1. Previous studies on the problem kept X intact and proposed data structures that occupied additional O(n · log n) bits of space over the X itself that answer the queries in logarithmic time. In this study, we replace X and encode all integers in it via a single wavelet tree by using S = n · log u + Σ log x + o(n · log u + Σ log x) bits, where u is the number of distinct ⌊log x⌋ values observed in X. Notice that u is at most 32 (64) for 32-bit (64-bit) integers and when x > u, the space used for x in the proposed data structure is less then the Elias-δ coding of x. Besides data-aware coding of X, the range selection is performed in O(log u + log x') time where x' is the k-th smallest integer in the queried range. This somewhat adaptive result interestingly achieves the range selection regardless of the size of X, and totally depends on the actual answer of the query. In summary, to the best of our knowledge, we present the first algorithm using data-aware space and time for the general range selection problem.
机译:在给定的向量X =(x,x,...,x)的整数上,范围选择(i,j,k)查询正在找到(x,x,...,x中的第k个最小整数)(1,i,j,k)使得1≤i≤j≤n,且1≤k≤j-i +1。先前对该问题的研究使X保持不变,并提出了占用额外O(n· log n)X本身上以对数时间回答查询的空间位。在本研究中,我们替换X并使用S = n·log u +Σlog x + o(n·log u +Σlog x)位通过单个小波树对其中的所有整数进行编码,其中u是在X中观察到的不同的“ log x”值。请注意,对于32位(64位)整数,u最多为32(64),并且当x> u时,建议的数据结构中用于x的空间小于x的Elias-δ编码。除X的数据感知编码外,范围选择还以O(log u + log x')时间执行,其中x'是查询范围中的第k个最小整数。不管X的大小如何,这个有点自适应的结果都有趣地实现了范围选择,并且完全取决于查询的实际答案。总而言之,据我们所知,我们提出了第一个使用数据感知空间和时间来解决一般范围选择问题的算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号