Title :
Counting and Reporting Intersections of d-Ranges
Author :
Six, Hans W. ; Wood, Derick
Author_Institution :
Institut für Angewandte Informatik und Formale Beschreibungverfahren, Universität Karlsruhe
fDate :
3/1/1982 12:00:00 AM
Abstract :
We present a solution to the problem of reporting and counting all pairs of intersecting or overlapping d-ranges in a given set of n d-ranges. A d-range is a rectilinearly oriented rectangular d-dimensional box or brick. The three-dimensional case is presented in some detail and an 0(n log22n + k) time and 0(n log22n) space algorithm is developed for the reporting problem, where k is the number of reported intersecting pairs. This gives an 0(n log22n) time and 0(n log2n) space algorithm for the counting problem. Apart from its usefulness wherever a "bounding boxes" technique is used, the development of the algorithm is of interest in its own right because of the data structures that are introduced and because of the technique used to reduce the time needed for preprocessing. Finally, the algorithm is generalized to give an 0(2d−1n log2d−n+ k) time and an 0(2d−1n log2d−n) space algorithm for the d-range intersection reporting problem for d ≥ 2, which again reduces to an 0(2d−1n log2d−1n) time and 0(2d−1n log2d−2n) space algorithm for the counting problem. Finally, we sketch how the reporting problem can be carried out with the same space requirements as the counting problem. The bounds presented are the best known to date.
Keywords :
Bounding boxes; computational geometry; d-ranges; data structures; range tree; rectangles; segment tree; tree of trees structures; Computer aided software engineering; Data structures; Tree data structures; Bounding boxes; computational geometry; d-ranges; data structures; range tree; rectangles; segment tree; tree of trees structures;
Journal_Title :
Computers, IEEE Transactions on
DOI :
10.1109/TC.1982.1675973