UNION-COPY STRUCTURES AND DYNAMIC SEGMENT TREES

被引:15
作者
VANKREVELD, MJ
OVERMARS, MH
机构
[1] Department of Computer Science, Utrecht University, 3508 TB Utrecht
关键词
ALGORITHMS; DATA STRUCTURES; DYNAMIC SEGMENT TREE; UNION-COPY STRUCTURE; UNION-FIND STRUCTURE;
D O I
10.1145/174130.174140
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A new data structure-the union-copy structure-is introduced, which generalizes the well-known union-find structure. Besides the usual union and find operations, the new structure also supports a copy operation, that generates a duplicate of a given set. The structure can enumerate a given set, find all sets that contain a given element, insert and delete elements, etc. All these operations can be performed very efficiently. The structure can be tuned as to obtain different trade-offs in the efficiency of the different operations. As an application of the union-copy structure, we give a dynamic version of the segment tree. Contrary to the classical semi-dynamic segment trees, the dynamic segment tree is not restricted to a fixed universe, from which the endpoints of the segments must be chosen. The tree allows for insertions, splits, and concatenations in O(log n)-time each. Deletions can be performed in slightly more time.
引用
收藏
页码:635 / 652
页数:18
相关论文
共 19 条
[1]  
Aho Alfred V., 1974, DESIGN ANAL COMPUTER
[2]   AN ALGORITHM FOR EQUIVALENCE DECLARATIONS [J].
ARDEN, BW ;
GALLER, BA ;
GRAHAM, RM .
COMMUNICATIONS OF THE ACM, 1961, 4 (07) :310-314
[3]  
BENTLEY JL, 1977, UNPUB SOLUTIONS KLEE
[4]  
BLUM N, 1985, SIAM J COMPUT, V15, P1021
[5]   MAKING DATA-STRUCTURES PERSISTENT [J].
DRISCOLL, JR ;
SARNAK, N ;
SLEATOR, DD ;
TARJAN, RE .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1989, 38 (01) :86-124
[6]   A LINEAR-TIME ALGORITHM FOR A SPECIAL CASE OF DISJOINT SET UNION [J].
GABOW, HN ;
TARJAN, RE .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1985, 30 (02) :209-221
[7]   AN IMPROVED EQUIVALENCE ALGORITHM [J].
GALLER, BA ;
FISHER, MJ .
COMMUNICATIONS OF THE ACM, 1964, 7 (05) :301-303
[8]  
Golumbic M., 1980, ALGORITHMIC GRAPH TH
[9]  
Guibas L.J., 1978, 19TH P ANN IEEE S F, P8
[10]   EFFICIENT MOTION PLANNING FOR AN L-SHAPED OBJECT [J].
HALPERIN, D ;
OVERMARS, MH ;
SHARIR, M .
SIAM JOURNAL ON COMPUTING, 1992, 21 (01) :1-23