arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.07067cs.DS
收藏

编码二维的范围top-k查询

Encoding two-dimensional range top-k queries

Seungbum Jo, Srinivasa Rao Satti

摘要:

我们考虑二维的【形】数组的编码问题,其元素来自一个总的顺序,回答\topk{}查询。其目的是获得使用接近信息理论下限的空间的编码,其可以被有效地构造。对于一个$m \times n$数组,与$m \le n$,我们首先提出了一个编码回答单侧\topk{}查询,其查询范围被限制为$[1 \dots m][1 \dots a]$,为$1 \le a \le n$。接下来,我们提出了一种用于回答一般(4边)\topk{}查询的编码,该查询采用$(m\lg{(k+1)n \choose n}+2nm(m-1)+o(n))$位,这概括了Golin等人的\textit{joint Cartesian tree} [TCS 2016]。与普通的$O(nm\lg{n})$位编码相比,当$m = o(\lg{n})$ .除了编码的上界结果之外,我们还给出了回答$1$和$4$侧\topk{}查询的编码的下界,这表明我们的上界结果几乎是最优的。

英文摘要:

We consider the problem of encoding two-dimensional arrays, whose elements come from a total order, for answering \topk{} queries. The aim is to obtain encodings that use space close to the information-theoretic lower bound, which can be constructed efficiently. For an $m \times n$ array, with $m \le n$, we first propose an encoding for answering 1-sided \topk{} queries, whose query range is restricted to $[1 \dots m][1 \dots a]$, for $1 \le a \le n$. Next, we propose an encoding for answering for the general (4-sided) \topk{} queries that takes $(m\lg{(k+1)n \choose n}+2nm(m-1)+o(n))$ bits, which generalizes the \textit{joint Cartesian tree} of Golin et al. [TCS 2016]. Compared with trivial $O(nm\lg{n})$-bit encoding, our encoding takes less space when $m = o(\lg{n})$. In addition to the upper bound results for the encodings, we also give lower bounds on encodings for answering $1$ and $4$-sided \topk{} queries, which show that our upper bound results are almost optimal.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑