An in-place min-max priority search tree

被引:5
|
作者
De, Minati [1 ]
Maheshwari, Anil [2 ]
Nandy, Subhas C. [1 ]
Smid, Michiel [2 ]
机构
[1] Indian Stat Inst, Kolkata, India
[2] Carleton Univ, Sch Comp Sci, Ottawa, ON K1S 5B6, Canada
来源
基金
加拿大自然科学与工程研究理事会;
关键词
Min-max priority search tree; In-place algorithm; Three-sided orthogonal range query; Maximum empty rectangle; LARGEST EMPTY RECTANGLE; SEGMENT INTERSECTION; ALGORITHM;
D O I
10.1016/j.comgeo.2012.09.007
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
One of the classic data structures for storing point sets in R-2 is the priority search tree, introduced by McCreight in 1985. We show that this data structure can be made in-place, i.e., it can be stored in an array such that each entry stores only one point of the point set and no entry is stored in more than one location of that array. It combines a binary search tree with a heap. We show that all the standard query operations can be performed within the same time bounds as for the original priority search tree, while using only O(1) extra space. We introduce the min-max priority search tree which is a combination of a binary search tree and a min-max heap. We show that all the standard queries which can be done in two separate versions of a priority search tree can be done with a single min-max priority search tree. As an application, we present an in-place algorithm to enumerate all maximal empty axis-parallel rectangles amongst points in a rectangular region R in R-2 in O(m log n) time with O(1) extra space, where m is the total number of maximal empty rectangles. (C) 2012 Elsevier B.V. All rights reserved.
引用
收藏
页码:310 / 327
页数:18
相关论文
共 50 条
  • [1] Min-max tree covers of graphs
    Even, G
    Garg, N
    Könemann, J
    Ravi, R
    Sinha, A
    OPERATIONS RESEARCH LETTERS, 2004, 32 (04) : 309 - 315
  • [2] Min-max computation tree logic
    Dasgupta, P
    Chakrabarti, PP
    Deka, JK
    Sankaranarayanan, S
    ARTIFICIAL INTELLIGENCE, 2001, 127 (01) : 137 - 162
  • [3] CONSPIRACY NUMBERS FOR MIN-MAX SEARCH
    MCALLESTER, DA
    ARTIFICIAL INTELLIGENCE, 1988, 35 (03) : 287 - 310
  • [4] MIN-MAX HEAPS AND GENERALIZED PRIORITY-QUEUES
    JONES, DW
    COMMUNICATIONS OF THE ACM, 1987, 30 (03) : 260 - 260
  • [5] A SHIFTING ALGORITHM FOR MIN-MAX TREE PARTITIONING
    BECKER, RI
    SCHACH, SR
    PERL, Y
    JOURNAL OF THE ACM, 1982, 29 (01) : 58 - 67
  • [6] Approximation hardness of min-max tree covers
    Xu, Zhou
    Wen, Qi
    OPERATIONS RESEARCH LETTERS, 2010, 38 (03) : 169 - 173
  • [7] Approximation algorithms for min-max tree partition
    GuttmannBeck, N
    Hassin, R
    JOURNAL OF ALGORITHMS, 1997, 24 (02) : 266 - 286
  • [8] GAME TREE SEARCHING BY MIN-MAX APPROXIMATION
    RIVEST, RL
    ARTIFICIAL INTELLIGENCE, 1987, 34 (01) : 77 - 96
  • [9] MIN-MAX HEAPS AND GENERALIZED PRIORITY-QUEUES
    ATKINSON, MD
    SACK, JR
    SANTORO, N
    STROTHOTTE, T
    COMMUNICATIONS OF THE ACM, 1986, 29 (10) : 996 - 1000
  • [10] Min-Max Spaces and Complexity Reduction in Min-Max Expansions
    Gaubert, Stephane
    McEneaney, William M.
    APPLIED MATHEMATICS AND OPTIMIZATION, 2012, 65 (03): : 315 - 348