首页> 外文会议>International colloquium on automata, languages and programming >Optimal Encodings for Range Top-k, Selection, and Min-Max
【24h】

Optimal Encodings for Range Top-k, Selection, and Min-Max

机译:范围Top-k,选择和最小-最大的最佳编码

获取原文

摘要

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 ∈ [1, n). A range top-k query on an arbitrary range [i,j] is contained in [1, n] asks us to return the ordered set of indices {ℓ_1,...,ℓ_k} such that A[ℓ_m] is the m-th largest element in A[i..j], for 1 ≤ m ≤ k. A range selection query for an arbitrary range [i, j] is contained in [1,n] and query parameter k' ∈ [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.
机译:我们考虑对数组进行范围查询的编码问题。在这些问题中,目标是存储一种结构,该结构能够将所有占用信息理论上最小空间的查询的答案恢复到较低阶的范围内。作为输入,我们得到一个数组A [1..n]和一个固定参数k∈[1,n)。 [1,n]中包含对任意范围[i,j]的范围top-k查询,它要求我们返回有序索引集{ℓ_1,...,ℓ_k},使得A [ℓ_m]为m对于A≤m≤k,A [i..j]中的第n个最大元素。 [1,n]中包含对任意范围[i,j]的范围选择查询,查询参数k'∈[1,k]要求我们返回.A []中第k'个最大元素的索引。 i..j]。对于所有k = o(n),我们完全解决了这两个经过深入研究的问题的空间复杂性(在较低阶项内)。以前,仅在k = 1时才知道空间复杂度的常数。我们还解决了另一个问题的空间复杂度,我们称之为范围min-max,其目的是返回最小值和最大值的索引范围内的元素。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号