Skip to main content

Incremental algorithms for the single-source shortest path problem

Extended abstract

  • Algorithms
  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 880))

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(logn) 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 Di-jkstra's techniques [5], require simple data structures that are really suitable for a practical and straightforward implementation.

Work partially supported by the ESPRIT Basic Research Action no.7141 (ALCOM II), and by PROGETTO FINALIZZA TO TRASPORTI 2 of the Italian National Research Council (CNR).

Part of this work was developed while this author was visiting the International Computer Science Institute, 1947 Center Street · Suite 600 · Berkeley, California 94704.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A. V. Aho, J. E. Hopcroft, and J. D. Ullman, The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, MA, 1974.

    Google Scholar 

  2. S. Arnborg, Efficient Algorithms for Combinatorial Problems on Graphs with Bounded Decomposability — A survey, BIT, 25, 2–23, 1985.

    Google Scholar 

  3. H. L. Bodlaender, J. R. Gilbert, H. Hafsteinsson, T. Kloks, Approximating Treewidth, Path-width, and Minimum Elimination Tree Height, Proceedings International Workshop on Graph-theoretic Concepts in Computer Science (WG 91), Lecture Notes in Computer Science, 570, Springer-Verlag, 1–13.

    Google Scholar 

  4. G. Ausiello, G. F. Italiano, A. Marchetti-Spaccamela, and U. Nanni, Incremental Algorithms for Minimal Length Paths, Journal of Algorithms, 12, 4 (December 1991), 615–638.

    Google Scholar 

  5. E. W. Dijkstra, A note on two problems in connection with graphs, Numerical Mathematics 1, 1959.

    Google Scholar 

  6. S. Even, and H. Gazit, Updating distances in dynamic graphs, Methods of Operations Research 49 (1985), 371–387.

    Google Scholar 

  7. E. Feuerstein, and A. Marchetti-Spaccamela, On-line Algorithms for Shortest Paths in Planar Graphs, Theoretical Computer Science, to appear.

    Google Scholar 

  8. G. N. Frederickson, Fast algorithms for shortest paths in planar graphs, with applications, SIAM Journal on Computing, 16, 6, (December 1987).

    Google Scholar 

  9. F. Harary, Graph Theory, Addison-Wesley (1969).

    Google Scholar 

  10. P, N. Klein, S. Rao, M. Rauch and S. Subramanian, Faster shortest-path algorithms for planar graphs, Proceedings ACM Symposium on Theory of Computing (1994), to appear.

    Google Scholar 

  11. P. N. Klein and S. Subramanian, Fully Dynamic Approximation Schemes for Shortest Path Problems in Planar Graphs, Proceedings International Workshop on Algorithms and Data Structures (WADS 93).

    Google Scholar 

  12. R. J. Lipton and R. E. Tarjan, A Separator Theorem for Planar Graphs, SIAM Journal of Applied Mathematics, 36 (1979), 177–189.

    Google Scholar 

  13. G. Ramalingam and T. Reps, On the computational complexity of Incremental Algorithms, Tech. Rep. Computer Science Department, University of Wisconsin, Madison (1991).

    Google Scholar 

  14. G. Ramalingam and T. Reps, An Incremental Algorithm for a Generalization of the Shortest Path Problem, Tech. Rep. n. 1087, Computer Science Department, University of Wisconsin, Madison (1992).

    Google Scholar 

  15. G. Ramalingam, Bounded Incremental Computation, Tech. Rep. 1172, Computer Science Department, University of Wisconsin, Madison (August 1993).

    Google Scholar 

  16. H. Rohnert, A dynamization of the all-pairs least cost path problem, Proceedings 2nd Annual Symposium on Theoretical Aspects of Computer Science, Lecture Notes in Computer Science, 182, Springer-Verlag (1990), 279–286.

    Google Scholar 

  17. R. E. Tarjan, Amortized computational complexity, SIAM Journal on Algebraic and Discrete Methods, 6 (1985), 306–318.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

P. S. Thiagarajan

Rights and permissions

Reprints and permissions

Copyright information

© 1994 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Frigioni, D., Marchetti-Spaccamela, A., Nanni, U. (1994). Incremental algorithms for the single-source shortest path problem. In: Thiagarajan, P.S. (eds) Foundation of Software Technology and Theoretical Computer Science. FSTTCS 1994. Lecture Notes in Computer Science, vol 880. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58715-2_118

Download citation

  • DOI: https://doi.org/10.1007/3-540-58715-2_118

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-58715-6

  • Online ISBN: 978-3-540-49054-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics