Fully dynamic algorithms for maintaining shortest paths trees

被引:124
作者
Frigioni, D
Marchetti-Spaccamela, A
Nanni, U
机构
[1] Univ Aquila, Dipartimento Ingn Elettr, I-67040 Laquila, Italy
[2] Univ Rome, Dipartimento Informat & Sistemist, I-00198 Rome, Italy
[3] Univ Roma La Sapienza, Dipartimento Informat & Sistemist, I-00198 Rome, Italy
来源
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC | 2000年 / 34卷 / 02期
关键词
D O I
10.1006/jagm.1999.1048
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We propose fully dynamic algorithms for maintaining the distances and the shortest paths from a single source in either a directed or an undirected graph with positive real edge weights, handling insertions, deletions, and weight updates of edges. The algorithms require linear space and optimal query time. The cost of the update operations depends on the class of the considered graph and on the number of the output updates, i.e., on the number of vertices that, due to an edge modification, either change the distance from the source or change the parent in the shortest paths tree. We first show that, if we deal only with updates on the weights of edges, then the update procedures require O(log n) worst case time per output update for several classes of graphs, as in the case of graphs with bounded genus, bounded arboricity, bounded degree, bounded treewidth, and bounded pagenumber. For general graphs with n vertices and m edges the algorithms require O(root m log n) worst case time per output update. We also show that, if insertions and deletions of edges are allowed, then similar amortized bounds hold. (C) 2000 Academic Press.
引用
收藏
页码:251 / 281
页数:31
相关论文
共 30 条
[1]  
AHUIA RK, 1993, NETWORK FLOWS THEORY
[2]  
ALPERN B, 1990, PROCEEDINGS OF THE FIRST ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P32
[3]  
[Anonymous], 1961, J Lond Math Soc, DOI DOI 10.1112/JLMS/S1-36.1.445
[4]  
ARNBORG S, 1985, BIT, V25, P2, DOI 10.1007/BF01934985
[5]   INCREMENTAL ALGORITHMS FOR MINIMAL LENGTH PATHS [J].
AUSIELLO, G ;
ITALIANO, GF ;
SPACCAMELA, AM ;
NANNI, U .
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 1991, 12 (04) :615-638
[6]  
Chaudhuri S, 1995, LECT NOTES COMPUT SC, V944, P244
[7]   PLANAR ORIENTATIONS WITH LOW OUT-DEGREE AND COMPACTION OF ADJACENCY MATRICES [J].
CHROBAK, M ;
EPPSTEIN, D .
THEORETICAL COMPUTER SCIENCE, 1991, 86 (02) :243-266
[8]  
Dijkstra E.W., 1959, Numerische mathematik, V1, P269, DOI [10.1007/BF01386390, DOI 10.1007/BF01386390]
[9]   MINIMUM PARTITION OF A MATROID INTO INDEPENDENT SUBSETS [J].
EDMONDS, J .
JOURNAL OF RESEARCH OF THE NATIONAL BUREAU OF STANDARDS SECTION B-MATHEMATICS AND MATHEMATICAL, 1965, B 69 (1-2) :67-+
[10]  
EVEN S, 1985, METHODS OPERATIONS R, V49, P371