Largest empty rectangle
![]() | This article or section is in a state of significant expansion or restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template. If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{in use}} during the active editing session. Click on the link for template parameters to use.
This article was last edited by Twri (talk | contribs) 15 years ago. (Update timer) |
In computational geometry, the largest empty rectangle, LER,[1] maximal empty rectangle, MER,[2] or maximum empty rectangle[3] problem is the problem of finding a rectangle of maximal size to be placed among obstacles in the plane. There are a number of variants of the problem, depending on the particularities of this generic formulation, in particular, depending on the measure of the "size", domain (type of obstacles), and the orientation of the rectangle.
In terms of size measure, the two most common cases are the largest-area empty rectangle and largest-perimeter empty rectangle.[4]
Another major classification is whether the rectangle is sought among axis-oriented or arbitrarily oriented rectangles.
Special cases
Minimum-area square
The case when the sought rectangle is an axis-oriented square may be treated using Voronoi diagrams in metrics for the corresponding obstacle set. In particular, for the case of points within rectangle an optimal algorithm of time complexity is known. [5]
Domain: rectangle containing points
A problem first discused by Naamad, Lee and Hsu in 1983[6] is stated as follows: given a rectangle A containing n points, find a largest-area rectangle with sides parallel to those of A which lies within A and does not contain any of the given points. Naamad, Lee and Hsu presented an algorithm of time complexity , where s is the number of feasible solutions, i.e., empty rectangles all four sides of which either contain an obstacle point or lie on a side of A. They also proved that and gave an example in which s is quadratic in n. Afterwards a umber of papers presented better algorithms for the problem.
Domain: Polygon
References
- ^ "largest empty rectangle" term usage
- ^ "maximal empty rectangle" term usage
- ^ "maximum empty rectangle" term usage
- ^ Alok Aggearwal, Subhash Suri, "Fast algorithms for computing the largest empty rectangle", Proc. 3rd Annu. Symposium on Computational Geometry, 1987, 278 - 290, doi:10.1145/41958.41988
- ^ B. Chazelle, R. L. Drysdale III and D. T. Lee, "Computing the largest empty rectangle", STACS-1984, Lecture Notes in Computer Science, vol. 166, 1984, pp. 43-54, doi:10.1007/3-540-12920-0_4
- ^ A. Naamad, D. T. Lee and W.-L. Hsu "On the Maximum Empty Rectangle Problem", Discrete Applied Mathematics 1984, pp. 267-277