范围Top-k、选择和最小-最大的最佳编码
Optimal Encodings for Range Top-k, Selection, and Min-Max
摘要:
我们考虑数组范围查询的编码问题。在这些问题中,我们的目标是存储一个结构,能够恢复所有查询的答案,占据信息理论的最小空间可能的,在较低的顺序条款。作为输入,我们给出一个数组$A[1..n]$和一个固定参数$k \in [1,n]$。对任意范围$[i,j] \subseteq [1,n]$的范围top- $k$查询要求我们返回有序索引集$\{\ell_1, ..., \ell_{k}\}$,使得$A[\ell_m]$是$A[i..j]$中的第$m$最大元素,对于$1 \le m \le k$ .对于任意范围$[i,j] \subseteq [1,n]$和查询参数$k' \in [1,k]$的范围选择查询要求我们返回$A[i..j]$中第$k'$个最大元素的索引。我们完全解决了这两个大量研究的问题的空间复杂性-在较低的顺序条款-为所有$k = o(n)$。以前,空间复杂度中的常数因子仅为$k=1$所知。我们还解决了另一个问题的空间复杂性,我们称之为范围最小-最大,其中的目标是返回一个范围内的最小和最大元素的索引。
英文摘要:
We consider encoding problems for range queries on arrays. In these problems the goal is to store a structure capable of recovering the answer to all queries that occupies the information theoretic minimum space possible, to within lower order terms. As input, we are given an array $A[1..n]$, and a fixed parameter $k \in [1,n]$. A range top-$k$ query on an arbitrary range $[i,j] \subseteq [1,n]$ asks us to return the ordered set of indices $\{\ell_1, ..., \ell_{k}\}$ such that $A[\ell_m]$ is the $m$-th largest element in $A[i..j]$, for $1 \le m \le k$. A range selection query for an arbitrary range $[i,j] \subseteq [1,n]$ and query parameter $k' \in [1,k]$ asks us to return the index of the $k'$-th largest element in $A[i..j]$. We completely resolve the space complexity of both of these heavily studied problems---to within lower order terms---for all $k = o(n)$. Previously, the constant factor in the space complexity was known only for $k=1$. We also resolve the space complexity of another problem, that we call range min-max, in which the goal is to return the indices of both the minimum and maximum elements in a range.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。