Variations of largest rectangle recognition amidst a bichromatic point set

Article Type

Research Article

Publication Title

Discrete Applied Mathematics

Abstract

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=Pr∪Pb in R2 and R3, where Pr and Pb 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 R2, and (ii) an axis-parallel monochromatic cuboid of maximum size in R3. The time complexities of the algorithms for problems (i) and (ii) are O(m(m+n)(mn+mlogm+nlogn)) and O(m3n+m2nlogn), 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 Rk supports orthogonal range counting query using O(1) extra workspace, and with O(n1−1∕k) query time complexity. The construction time of this data structure is O(nlogn). 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=Pr∪Pb, where each point in Pb (resp. Pr) is associated with a negative (resp. positive) real-valued weight that runs in O(m2(n+m)log(n+m)) time using O(n) extra space.

First Page

35

Last Page

50

DOI

10.1016/j.dam.2019.05.012

Publication Date

11-15-2020

Comments

Open Access, Green

This document is currently not available here.

Share

COinS