Two-dimensional range minimum queries

被引:0
|
作者
Amir, Amihood [1 ]
Fischer, Johannes [2 ]
Lewenstein, Moshe [1 ]
机构
[1] Bar Ilan Univ, Dept Comp Sci, IL-52900 Ramat Gan, Israel
[2] Univ Munich, Inst Informatik, Marchioninistr 15, D-81377 Munich, Germany
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the two-dimensional Range Minimum Query problem: for a static (m x 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 Cabow, Bentley and Tarjan [1], who solve the problem in O(N logN) 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(kN) additional space, O(N log N[k+ 1] N) preprocessing time and O(1) query time for any k > 1, where log([k+ 1]) denotes the iterated application of k + 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.
引用
收藏
页码:286 / +
页数:2
相关论文
共 50 条
  • [1] Two-Dimensional Range Diameter Queries
    Davoodi, Pooya
    Smid, Michiel
    van Walderveen, Freek
    LATIN 2012: THEORETICAL INFORMATICS, 2012, 7256 : 219 - 230
  • [2] Two dimensional range minimum queries and Fibonacci lattices
    Brodal, Gerth Stolting
    Davoodi, Pooya
    Lewenstein, Moshe
    Raman, Rajeev
    Satti, Srinivasa Rao
    THEORETICAL COMPUTER SCIENCE, 2016, 638 : 33 - 43
  • [3] Two Dimensional Range Minimum Queries and Fibonacci Lattices
    Brodal, Gerth Stolting
    Davoodi, Pooya
    Lewenstein, Moshe
    Raman, Rajeev
    Rao, Satti Srinivasa
    ALGORITHMS - ESA 2012, 2012, 7501 : 217 - 228
  • [4] Encoding Two-Dimensional Range Top-k Queries
    Jo, Seungbum
    Lingala, Rahul
    Satti, Srinivasa Rao
    ALGORITHMICA, 2021, 83 (11) : 3379 - 3402
  • [5] Direction relations and two-dimensional range queries: optimisation techniques
    Theodoridis, Y
    Papadias, D
    Stefanakis, E
    Sellis, T
    DATA & KNOWLEDGE ENGINEERING, 1998, 27 (03) : 313 - 336
  • [6] Encoding Two-Dimensional Range Top-k Queries
    Seungbum Jo
    Rahul Lingala
    Srinivasa Rao Satti
    Algorithmica, 2021, 83 : 3379 - 3402
  • [7] Faster range minimum queries
    Kowalski, Tomasz M.
    Grabowski, Szymon
    SOFTWARE-PRACTICE & EXPERIENCE, 2018, 48 (11): : 2043 - 2060
  • [8] Improved Range Minimum Queries
    Ferrada, Hector
    Navarro, Gonzalo
    2016 DATA COMPRESSION CONFERENCE (DCC), 2016, : 516 - 525
  • [9] Compressed range minimum queries
    Gawrychowski, Pawel
    Jo, Seungbum
    Mozes, Shay
    Weimann, Oren
    THEORETICAL COMPUTER SCIENCE, 2020, 812 : 39 - 48
  • [10] Compressed Range Minimum Queries
    Jo, Seungbum
    Mozes, Shay
    Weimann, Oren
    STRING PROCESSING AND INFORMATION RETRIEVAL, SPIRE 2018, 2018, 11147 : 206 - 217