Finding the Largest Empty Rectangle on a Grated Surface
暂无分享,去创建一个
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.
[1] Franco P. Preparata,et al. Plane-sweep algorithms for intersecting geometric figures , 1982, CACM.
[2] D. T. Lee,et al. On the maximum empty rectangle problem , 1984, Discret. Appl. Math..
[3] Bernard Chazelle,et al. Computing the Largest Empty Rectangle , 1986, SIAM J. Comput..
[4] R. Bellman. Dynamic programming. , 1957, Science.
[5] Franco P. Preparata,et al. Approximation algorithms for convex hulls , 1982, CACM.