【24h】

Two-Dimensional Range Minimum Queries

机译:二维范围最小查询

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

We consider the two-dimensional Range Minimum Query problem: for a static (m × n)-matrix of size N = mn which may be preprocessed, answer on-line queries of the form "where is the position of a minimum element in an axis-parallel rectangle?". Unlike the one-dimensional version of this problem which can be solved in provably optimal time and space, the higher-dimensional case has received much less attention. The only result we are aware of is due to Gabow, Bent-ley and Tarjan , who solve the problem in O(N log N) preprocessing time and space and O(log N) query time. We present a class of algorithms which can solve the 2-dimensional RMQ-problem with O(κN) additional space, O(N log~([κ+1]) N) preprocessing time and O(1) query time for any κ > 1, where log~([κ+1]) denotes the iterated application of κ + 1 logarithms. The solution converges towards an algorithm with O(N log~* N) preprocessing time and space and O(1) query time. All these algorithms are significant improvements over the previous results: query time is optimal, preprocessing time is quasi-linear in the input size, and space is linear. While this paper is of theoretical nature, we believe that our algorithms will turn out to have applications in different fields of computer science, e.g., in computational biology.
机译:我们考虑二维范围最小查询问题:对于大小为N = mn的静态(m×n)矩阵,可以对其进行预处理,以以下形式回答在线查询:“其中最小元素在轴平行矩形?”。与可以在可证明的最佳时间和空间中解决的该问题的一维版本不同,高维案例的关注要少得多。我们知道的唯一结果是Gabow,Bentley和Tarjan解决了O(N log N)预处理时间和空间以及O(log N)查询时间的问题。我们提出了一类可以解决二维RMQ问题的算法,该问题具有O(κN)个额外空间,O(N log〜([κ+ 1])N)个预处理时间和O(1)查询时间> 1,其中log〜([κ+ 1])表示κ+ 1对数的迭代应用。该解决方案收敛于具有O(N log〜* N)个预处理时间和空间以及O(1)个查询时间的算法。所有这些算法都是对先前结果的重大改进:查询时间是最佳的,预处理时间在输入大小上是准线性的,空间是线性的。尽管本文具有理论性质,但我们认为我们的算法将在计算机科学的不同领域(例如计算生物学)中得到应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号