Range Selection Queries in Data Aware Space and Time

M. O. Külekci, Sharma V. Thankachan
{"title":"Range Selection Queries in Data Aware Space and Time","authors":"M. O. Külekci, Sharma V. Thankachan","doi":"10.1109/DCC.2015.53","DOIUrl":null,"url":null,"abstract":"On a given vector X = (x<sub>1</sub>, x<sub>2</sub>,..., x<sub>n</sub>) of integers, the range selection (i, j, k) query is finding the k-th smallest integer in (x<sub>i</sub>, x<sub>i+1</sub>,..., x<sub>j</sub>) 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 + Σ<sub>∀i</sub> log x<sub>i</sub> + o(n · log u + Σ<sub>∀i</sub> log x<sub>i</sub>) bits, where u is the number of distinct ⌊log x<sub>i</sub>⌋ values observed in X. Notice that u is at most 32 (64) for 32-bit (64-bit) integers and when x<sub>i</sub> > u, the space used for x<sub>i</sub> in the proposed data structure is less then the Elias-δ coding of x<sub>i</sub>. 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.","PeriodicalId":313156,"journal":{"name":"2015 Data Compression Conference","volume":"103 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-04-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 Data Compression Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DCC.2015.53","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

On a given vector X = (x1, x2,..., xn) of integers, the range selection (i, j, k) query is finding the k-th smallest integer in (xi, xi+1,..., xj) 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 + Σ∀i log xi + o(n · log u + Σ∀i log xi) bits, where u is the number of distinct ⌊log xi⌋ values observed in X. Notice that u is at most 32 (64) for 32-bit (64-bit) integers and when xi > u, the space used for xi in the proposed data structure is less then the Elias-δ coding of xi. 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 = (x1, x2,…), xn)的整数,range select (i, j, k)查询是查找(xi, xi+1,…)中第k小的整数, xj)对于任意(i, j, k)满足1≤i≤j≤n,且1≤k≤j - i + 1。先前对该问题的研究保留了X的完整性,并提出了在X本身上占用额外O(n·log n)位空间的数据结构,以对数时间回答查询。在这项研究中,我们取代X和所有整数编码通过单一小波树通过使用S = n·log u +Σ∀我日志xi + o (n·日志u +Σ∀我日志xi)位,你在哪里的数量不同⌊日志xi⌋值观察到X注意u是最多32(64)的32位(64位)整数xi > u, xi使用的空间提出了数据结构是少那么xi的伊莱亚斯-δ编码。除了对X进行数据感知编码外,范围选择在O(log u + log X ')时间内执行,其中X '是所查询范围中第k小的整数。有趣的是,这个有点自适应的结果实现了范围选择,而不考虑X的大小,并且完全取决于查询的实际答案。总之,据我们所知,我们提出了第一个使用数据感知空间和时间来解决一般范围选择问题的算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信