Semidynamic algorithms for maintaining single-source shortest path trees

被引:37
作者
Frigioni, D
Marchetti-Spaccamela, A
Nanni, U
机构
[1] Univ Aquila, Dipartimento Matemat Pura & Appl, I-67010 Coppito, AQ, Italy
[2] Univ Rome La Sapienza, Dipartimento Informat & Sistemist, I-00198 Rome, Italy
关键词
single-source shortest path; dynamic algorithms; amortized complexity; output complexity;
D O I
10.1007/PL00009224
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We consider the problem of updating a single-source shortest path tree in either a directed or an undirected graph, with positive real edge weights. Our algorithms for the incremental problem (handling edge insertions and cost decrements) work for any graph; they have optimal space requirements and query time, but their performances depend on the class of the considered graph. The cost of updates is computed in terms of amortized complexity and depends on the size of the output modifications. In the case of graphs with bounded genus (including planar graphs), graphs with bounded arboricity (including bounded degree graphs), and graphs with bounded treewidth, the incremental algorithms require O(log rr) amortized time per vertex update: where a vertex is considered updated ii it reduces its distance from the source. For general graphs with n vertices and m edges our incremental solution requires O(root mlog n) amortized time perverter update. We also consider the decremental problem for planar graphs, providing algorithms and data structures with analogous performances. The algorithms, based on Dijkstra's technique [6]. require simple datastructures that are really suitable for a practical and straightforward implementation.
引用
收藏
页码:250 / 274
页数:25
相关论文
共 21 条
[1]  
Aho A.V., 1974, The Design and Analysis of Computer Algorithms
[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]   PLANAR ORIENTATIONS WITH LOW OUT-DEGREE AND COMPACTION OF ADJACENCY MATRICES [J].
CHROBAK, M ;
EPPSTEIN, D .
THEORETICAL COMPUTER SCIENCE, 1991, 86 (02) :243-266
[7]  
Dijkstra E. W., 1959, NUMER MATH, V1, P269, DOI DOI 10.1007/BF01386390
[8]  
EVEN S, 1985, METHODS OPERATIONS R, V49, P371
[9]   DYNAMIC ALGORITHMS FOR SHORTEST PATHS IN PLANAR GRAPHS [J].
FEUERSTEIN, E ;
MARCHETTISPACCAMELA, A .
THEORETICAL COMPUTER SCIENCE, 1993, 116 (02) :359-371
[10]  
FREDERICKSON GN, 1987, SIAM J COMPUT, V16, P1004, DOI 10.1137/0216064