Title :
I/O-Efficient Rectangular Segment Search
Author :
Das, Gautam K. ; Nickerson, Bradford G.
Author_Institution :
Fac. of Comput. Sci., Univ. of New Brunswick, Fredericton, NB, Canada
Abstract :
Abstract-We consider the I/O-efficient rectangular segment search problem in 2D. The problem involves storing a given set S of N line segments in a data structure such that an axis aligned rectangular range query R can be performed efficiently; i.e., report all line segments in S which intersect R. We give a data structure requiring space O(N(N/B)2) disk blocks that can answer a range query R using O(IogBN + K/B) I/Os, where B is the number of line segments transferred in one I/O, and K is the number of line segments intersecting R. Search complexity of O(logB(N/B) + K/B) I/Os can be achieved with reduced storage if the set S contains only non-intersecting line segments, or if set S contains only horizontal and vertical line segments. In the former case the space complexity is O((N/B)2) disk blocks and in the latter case the space complexity is O(N log N/log logB N). We also consider the problem of finding all the line segments which are entirely within the rectangle R if the set S contains only vertical and horizontal line segments. For this problem, an optimal data structure is presented with size O(N log N/log logB N) disk blocks that requires O(logB(N/B) + K/B) I/Os to answer the query.
Keywords :
computational complexity; data structures; input-output programs; search problems; I/O-efficient rectangular segment search; data structure; horizontal line segments; range query; search complexity; vertical line segments; Application software; Computer science; Data structures; Search problems; Space technology; I/O-model; Rectangular range query; line segment search;
Conference_Titel :
Computational Science and Its Applications (ICCSA), 2010 International Conference on
Conference_Location :
Fukuoka
Print_ISBN :
978-0-7695-3999-7
Electronic_ISBN :
978-1-4244-6462-3
DOI :
10.1109/ICCSA.2010.35