Variations of largest rectangle recognition amidst a bichromatic point set

被引:5
|
作者
Acharyya, Ankush [1 ]
De, Minati [2 ]
Nandy, Subhas C. [1 ]
Pandit, Supantha [3 ]
机构
[1] Indian Stat Inst, Kolkata, India
[2] Indian Inst Technol Delhi, New Delhi, India
[3] Dhirubhai Ambani Inst Informat & Commun Technol, Gandhinagar, Gujarat, India
关键词
Bichromatic point set; Obstacle-free rectangle recognition; Orthogonal range counting; In-place k-d tree; Maximum weight rectangle recognition; Space efficient algorithms; LARGEST EMPTY RECTANGLE; BOXES;
D O I
10.1016/j.dam.2019.05.012
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Classical separability problem involving multi-color point sets is an important area of study in computational geometry. In this paper, we study different separability problems for bichromatic point set P = P-r boolean OR P-b in R-2 and R-3, where P-r and P-b represent a set of n red points and a set of m blue points respectively, and the objective is to compute a monochromatic object of a desired type and of maximum size. We propose in-place algorithms for computing (i) an arbitrarily oriented monochromatic rectangle of maximum size in R-2, and (ii) an axis-parallel monochromatic cuboid of maximum size in R-3. The time complexities of the algorithms for problems (i) and (ii) are O(m(m + n)(m root n + m log m n log n)) and O(m(3) root n + m(2)n log n), respectively. As a prerequisite, we propose an in-place construction of the classic data structure the k-d tree, that was originally invented by J. L. Bentley in 1975. Our in-place variant of the k-d tree for a set of n points in R-k supports orthogonal range counting query using O(1) extra workspace, and with O(n(1-1/k)) query time complexity. The construction time of this data structure is O(n log n). Both the construction and query algorithms are non-recursive in nature that do not need O(logn) size recursion stack compared to the previously known construction algorithm for in-place k-d tree and query in it. We believe that this result is of independent interest. We also propose an algorithm for the problem of computing an arbitrarily oriented rectangle of maximum weight among a point set P = P-r boolean OR P-b, where each point in P-b (resp. P-r) is associated with a negative (resp. positive) real-valued weight that runs in O(m(2)(n + m) log(n + m)) time using O(n) extra space. (C) 2019 Elsevier B.V. All rights reserved.
引用
收藏
页码:35 / 50
页数:16
相关论文
共 38 条
  • [1] Largest empty rectangle among a point set
    Chaudhuri, J
    Nandy, SC
    Das, S
    [J]. JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2003, 46 (01): : 54 - 78
  • [2] On the size of the largest empty box amidst a point set
    Aistleitner, Christoph
    Hinrichs, Aicke
    Rudolf, Daniel
    [J]. DISCRETE APPLIED MATHEMATICS, 2017, 230 : 146 - 150
  • [3] Recognition of largest empty orthoconvex polygon in a point set
    Nandy, Subhas C.
    Mukhopadhyaya, Krishnendu
    Bhattacharya, Bhargab B.
    [J]. INFORMATION PROCESSING LETTERS, 2010, 110 (17) : 746 - 752
  • [4] Finding the largest separating rectangle among two point sets
    Armaselu, Bogdan
    [J]. THEORETICAL COMPUTER SCIENCE, 2024, 1017
  • [5] On the number of anchored rectangle packings for a planar point set
    Balas, Kevin
    Toth, Csaba D.
    [J]. THEORETICAL COMPUTER SCIENCE, 2016, 654 : 143 - 154
  • [6] On the Number of Anchored Rectangle Packings for a Planar Point Set
    Balas, Kevin
    Toth, Csaba D.
    [J]. COMPUTING AND COMBINATORICS, 2015, 9198 : 377 - 389
  • [7] Covering a bichromatic point set with two disjoint monochromatic disks
    Cabello, S.
    Diaz-Banez, J. M.
    Perez-Lantero, P.
    [J]. COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS, 2013, 46 (03): : 203 - 212
  • [8] ON SOME LARGEST EMPTY ORTHOCONVEX POLYGONS IN A POINT SET
    DATTA, A
    RAMKUMAR, GDS
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1990, 472 : 270 - 285
  • [9] LARGEST MINIMAL RECTILINEAR STEINER TREES FOR A SET OF N POINTS ENCLOSED IN A RECTANGLE WITH GIVEN PERIMETER
    CHUNG, FRK
    HWANG, FK
    [J]. NETWORKS, 1979, 9 (01) : 19 - 36
  • [10] Bichromatic Point-Set Embeddings of Trees with Fewer Bends (Extended Abstract)
    Shahriar, Khaled Mahmud
    Rahman, Md. Saidur
    [J]. ALGORITHMS AND COMPUTATION, WALCOM 2014, 2014, 8344 : 337 - 348