Abstract
Suppose we are given a two-dimensional rectangular surface upon which is placed a grating of size n by m square elements. The (n+1) × (m+1) intersection points of this grid are either empty or occupied. We describe an O(n × m) algorithm for finding the largest, in area, empty subrectangle of the original rectangle. The algorithm was inspired by the dynamic programming [1] and plane-sweep [5] paradigms.
Previous algorithms have been given for the similar problem in which the occupied points are given as points within a two-dimensional continuum, i. e., not restricted to grid crossings. One previous algorithm [4] for this problem has O(F 2) worse case and O(F log2 F) expected time, while another [3] has O(F log3 F) time, where F is the number of occupied points. We compare this result to our own, with special consideration to intended application areas and to the situation where the number of occupied points is proportional to the area of the original rectangle.
Preview
Unable to display preview. Download preview PDF.
References
Bellman, R. E., Dynamic Programming, Princeton University Press, 1957.
Bentley, J. L., Faust, M. G., and Preparata, F. P., “Approximation algorithms for convex hulls,” Communications of the ACM 25, 1 (January 1982), 64–68.
Chazelle, B., Drysdale, III, R. L., and Lee, D. T., “Computing the largest empty rectangle,” STACS 84: Symposium of Theoretical Aspects of Computer Science (Fontet, M., and Mehlhorn, K., Eds.), Lecture Notes in Computer Science 166, April 1984, 43–54.
Naamad, A., Lee, D. T., and Hsu, W.-L., “On the maximum empty rectangle problem,” Discrete Applied Mathematics 8, 3(July 1984), 267–277.
Nievergelt, J., and Preparata, F. P., “Plane-sweep algorithms for intersecting geometric figures,” Communications of the ACM 25, 10(October 1982), 739–747.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1987 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Dean Brock, J. (1987). Finding the largest empty rectangle on a grated surface. In: Brandenburg, F.J., Vidal-Naquet, G., Wirsing, M. (eds) STACS 87. STACS 1987. Lecture Notes in Computer Science, vol 247. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0039595
Download citation
DOI: https://doi.org/10.1007/BFb0039595
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-17219-2
Online ISBN: 978-3-540-47419-7
eBook Packages: Springer Book Archive