Skip to main content
Log in

Semidynamic Algorithms for Maintaining Single-Source Shortest Path Trees

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract.

We consider the problem of updating a single-source shortest path 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 n) amortized time per vertex update, where a vertex is considered updated if it reduces its distance from the source. For general graphs with n vertices and m edges our incremental solution requires O( \sqrt{m} log n) amortized time per vertex 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 data structures that are really suitable for a practical and straightforward implementation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received January 1995; revised February 1997.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Frigioni, D., Marchetti-Spaccamela, A. & Nanni, U. Semidynamic Algorithms for Maintaining Single-Source Shortest Path Trees . Algorithmica 22, 250–274 (1998). https://doi.org/10.1007/PL00009224

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/PL00009224

Navigation