An Optimal Contour Algorithm for Iso-Oriented Rectangles
暂无分享,去创建一个
Abstract Given a set of n iso-oriented rectangles in 2-space we describe an algorithm which determines the contour of their union in O(n log n + p) time and O(n + p) space, where p is the number of edges in the contour. This performance is time-optimal. The space requirements are the same as in the best previously known algorithm. We achieve this by introducing a new data structure, the contracted segment tree, which is a non-trivial modification of the well known segment tree. If only the pieces of the contour are to be reported then this approach yields a time- and space-optimal algorithm.
[1] Derick Wood,et al. An Optimal Worst Case Algorithm for Reporting Intersections of Rectangles , 1980, IEEE Transactions on Computers.
[2] Franco P. Preparata,et al. Finding the Contour of a Union of Iso-Oriented Rectangles , 1980, J. Algorithms.
[3] Herbert Edelsbrunner,et al. On the Intersection of Orthogonal Objects , 1981, Inf. Process. Lett..
[4] Jan van Leeuwen,et al. The Measure Problem for Rectangular Ranges in d-Space , 1981, J. Algorithms.