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 semidynamic algorithms for the incremental problem (handling edge insertions and cost decrements) work for any graph, but their performances depend on the class of the considered graph. In any case our algorithms have optimal space requirements and query time. The cost of updates is computed in terms of amortized output complexity. In the case of graphs with linear size genus (including planar graphs), bounded degree graphs and bounded treewidth graphs, the incremental algorithm requires O(log n) amortized time per vertex update, where a vertex is considered updated if reduces its distance from the source. We also consider the decremental problem for planar graphs, providing algorithms and data structures with analogous performances. We remark that our algorithms, based on Dijkstra’s techniques, require simple data structures that are really suitable for a practical and straightforward implementation.
Incremental algorithms for the single-source shortest path problem / Frigioni, Daniele; Marchetti-Spaccamela, Alberto; Nanni, Umberto. - 880:(1994), pp. 113-124. ( Conference on Foundations of Software Technology and Theoretical Computer Science Madras, India ) [10.1007/3-540-58715-2_118].
Incremental algorithms for the single-source shortest path problem
Frigioni, Daniele;Marchetti-Spaccamela, Alberto;Nanni, Umberto
1994
Abstract
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 semidynamic algorithms for the incremental problem (handling edge insertions and cost decrements) work for any graph, but their performances depend on the class of the considered graph. In any case our algorithms have optimal space requirements and query time. The cost of updates is computed in terms of amortized output complexity. In the case of graphs with linear size genus (including planar graphs), bounded degree graphs and bounded treewidth graphs, the incremental algorithm requires O(log n) amortized time per vertex update, where a vertex is considered updated if reduces its distance from the source. We also consider the decremental problem for planar graphs, providing algorithms and data structures with analogous performances. We remark that our algorithms, based on Dijkstra’s techniques, require simple data structures that are really suitable for a practical and straightforward implementation.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


