TY - JOUR
T1 - Efficient maintenance of the union of intervals on a line, with applications
AU - Cheng, Siu Wing
AU - Janardan, Ravi
PY - 1991/3
Y1 - 1991/3
N2 - We consider the problem of maintaining, under insertions and deletions, the union of a set S of intervals on a line. We present a scheme that reports the ordered list of intervals in the union in Θ(k) time, while achieving O(log n) time in worst case for each insertion or deletion, where n is the number of intervals currently in S and k is the number of disjoint intervals in the union. The scheme uses Θ(n) space. This is an improvement upon a previous approach which uses O(log2 n) time for each insertion or deletion. Moreover, the insertion time is provably optimal for a certain class of structures. One of the applications of our scheme is an optimal contour algorithm for iso-oriented rectangles that is competitive, and in some cases better, when compared to known algorithms.
AB - We consider the problem of maintaining, under insertions and deletions, the union of a set S of intervals on a line. We present a scheme that reports the ordered list of intervals in the union in Θ(k) time, while achieving O(log n) time in worst case for each insertion or deletion, where n is the number of intervals currently in S and k is the number of disjoint intervals in the union. The scheme uses Θ(n) space. This is an improvement upon a previous approach which uses O(log2 n) time for each insertion or deletion. Moreover, the insertion time is provably optimal for a certain class of structures. One of the applications of our scheme is an optimal contour algorithm for iso-oriented rectangles that is competitive, and in some cases better, when compared to known algorithms.
UR - http://www.scopus.com/inward/record.url?scp=0010257551&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=0010257551&partnerID=8YFLogxK
U2 - 10.1016/0196-6774(91)90023-R
DO - 10.1016/0196-6774(91)90023-R
M3 - Article
AN - SCOPUS:0010257551
VL - 12
SP - 57
EP - 74
JO - Journal of Algorithms
JF - Journal of Algorithms
SN - 0196-6774
IS - 1
ER -