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 条
  • [41] A min-max theorem on tournaments
    Chen, Xujin
    Hu, Xiaodong
    Zang, Wenan
    SIAM JOURNAL ON COMPUTING, 2007, 37 (03) : 923 - 937
  • [42] MIN-MAX INTERVAL CALCULUS
    JAHN, KU
    MATHEMATISCHE NACHRICHTEN, 1976, 71 : 267 - 272
  • [43] MORE ON MIN-MAX ALLOCATION
    PORTEUS, EL
    YORMARK, JS
    MANAGEMENT SCIENCE SERIES A-THEORY, 1972, 18 (09): : 502 - 507
  • [44] A Combinatorial Branch and Bound for the Min-Max Regret Spanning Tree Problem
    Godinho, Noe
    Paquete, Luis
    ANALYSIS OF EXPERIMENTAL ALGORITHMS, SEA2 2019, 2019, 11544 : 69 - 81
  • [45] Improved Approximation Algorithms for the Min-max Tree Cover and Bounded Tree Cover Problems
    M. Reza Khani
    Mohammad R. Salavatipour
    Algorithmica, 2014, 69 : 443 - 460
  • [46] Dynamic min-max problems
    Schwiegelshohn, U
    Thiele, L
    DISCRETE EVENT DYNAMIC SYSTEMS-THEORY AND APPLICATIONS, 1999, 9 (02): : 111 - 134
  • [47] Min-max kalman filtering
    Yaesh, I
    Shaked, U
    SYSTEMS & CONTROL LETTERS, 2004, 53 (3-4) : 217 - 228
  • [48] On a min-max theorem of cacti
    Szigeti, Z
    INTEGER PROGRAMMING AND COMBINATORIAL OPTIMIZATION, 1998, 1412 : 84 - 95
  • [49] BOUNDS FOR MIN-MAX HEAPS
    HASHAM, A
    SACK, JR
    BIT, 1987, 27 (03): : 315 - 323
  • [50] Analysis of min-max systems
    Olsder, GJ
    RAIRO-RECHERCHE OPERATIONNELLE-OPERATIONS RESEARCH, 1996, 30 (01): : 17 - 30