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 ( n 2 ). 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.
[1]
Alok Aggarwal,et al.
Fast algorithms for computing the largest empty rectangle
,
1987,
SCG '87.
[2]
Jeffrey D Ullma.
Computational Aspects of VLSI
,
1984
.
[3]
D. T. Lee,et al.
On the maximum empty rectangle problem
,
1984,
Discret. Appl. Math..
[4]
Michael Ian Shamos,et al.
Computational geometry: an introduction
,
1985
.
[5]
Alok Aggarwal,et al.
Geometric Applications of a Matrix Searching Algorithm
,
1986,
Symposium on Computational Geometry.
[6]
Bernard Chazelle,et al.
Computing the Largest Empty Rectangle
,
1984,
SIAM J. Comput..
[7]
Charles E. Leiserson.
Systolic Priority Queues
,
1979
.
[8]
Alok Aggarwal,et al.
Geometric applications of a matrix-searching algorithm
,
1987,
SCG '86.
[9]
Derick Wood,et al.
On Rectangular Visibility
,
1988,
J. Algorithms.
[10]
Mikhail J. Atallah,et al.
A note on finding a maximum empty rectangle
,
1986,
Discret. Appl. Math..