Elsevier

Information Sciences

Volume 64, Issues 1–2, 1 October 1992, Pages 121-141
Information Sciences

Efficient algorithms for the largest rectangle problem

https://doi.org/10.1016/0020-0255(92)90115-OGet rights and content

Abstract

In this paper, we present some efficient algorithms for the largest rectangle problem. The problems considered are the following. Problem P1: Given a bounding isothetic rectangle R and a point set S inside it, we have to find out the largest area (perimeter) isothetic rectangle inside R such that it does not contain any point from the set S. Problem P2: Given an isothetic polygon R, we have to find out the largest area (perimeter) rectangle completely contained in R. Problem P3: Same as problem P2, but isothetic holes are allowed inside the polygon R. We present algorithms that run in O(nlogn + K) time for all three problems. Where n is the cardinality of the set S in problem P1 and the number of sides of the polygon R and holes in problems P2 and P3. K is the number of candidate rectangles for a problem instance. The value of K is O(nlogn) on an average. So, our algorithms run in O(nlogn) time in the expected case. But the worst-case running time is O(n2). We also present optimal O(n) time systolic algorithms for all three problems. For problem P1, we present an efficient O(nlogn) time algorithm on a tree of processors.

References (11)

  • M.J. Atallah et al.

    A note on finding the maximum empty rectangle

    Discrete Appl. Math.

    (1986)
  • M.H. Overmars et al.

    On rectangular visibility

    J. Algorithms

    (1988)
  • A. Aggarwal et al.

    Fast algorithms for computing the largest empty rectangle

  • A. Aggarwal et al.

    Geometric applications of a matrix-searching algorithm

    Algorithmica

    (1987)
  • M.J. Atallah et al.

    An efficient algorithm for maxdominance, with applications

    Algorithmica

    (1989)
There are more references available in the full text version of this article.

Cited by (9)

  • Optimal algorithm for rectangle placement

    1999, Operations Research Letters
  • Maximal empty boxes amidst random points

    2013, Combinatorics Probability and Computing
  • Maximal empty boxes amidst random points

    2012, Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
  • Maximal strips data structure to represent free space on partially reconfigurable FPGAs

    2009, International Journal of Parallel, Emergent and Distributed Systems
View all citing articles on Scopus
View full text