Skip to main content

Fully Dynamic All Pairs Shortest Paths

2004; Demetrescu, Italiano

  • Reference work entry
  • 311 Accesses

Problem Definition

The problem is concerned with efficiently maintaining information about all-pairs shortest paths in a dynamically changing graph. This problem has been investigated since the 60s [17,18,20], and plays a crucial role in many applications, including network optimization and routing, traffic information systems, databases, compilers, garbage collection, interactive verification systems, robotics, dataflow analysis, and document formatting.     

A dynamic graph algorithm maintains a given property \( \mathcal{P} \) on a graph subject to dynamic changes, such as edge insertions, edge deletions and edge weight updates. A dynamic graph algorithm should process queries on property \( \mathcal{P} \) quickly, and perform update operations faster than recomputing from scratch, as carried out by the fastest static algorithm. An algorithm is said to be fully dynamic if it can handle both edge insertions and edge deletions. A partially dynamicalgorithm can handle either edge...

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   399.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Recommended Reading

  1. Ausiello, G., Italiano, G.F., Marchetti-Spaccamela, A., Nanni, U.: Incremental algorithms for minimal length paths. J. Algorithm 12(4), 615–38 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  2. Demetrescu, C.: Fully Dynamic Algorithms for Path Problems on Directed Graphs. Ph. D. thesis, Department of Computer and Systems Science, University of Rome “La Sapienza”, Rome (2001)

    Google Scholar 

  3. Demetrescu, C., Italiano, G.F.: A new approach to dynamic all pairs shortest paths. J. Assoc. Comp. Mach. 51(6), 968–992 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  4. Demetrescu, C., Italiano, G.F.: Experimental analysis of dynamic all pairs shortest path algorithms. ACM Trans. Algorithms 2(4), 578–601 (2006)

    Article  MathSciNet  Google Scholar 

  5. Demetrescu, C., Italiano, G.F.: Trade-offs for fully dynamic reachability on dags: Breaking through the O(n 2) barrier. J. Assoc. Comp. Mach. 52(2), 147–156 (2005)

    Article  MathSciNet  Google Scholar 

  6. Demetrescu, C., Italiano, G.F.: Fully Dynamic All Pairs Shortest Paths with Real Edge Weights. J. Comp. Syst. Sci. 72(5), 813–837 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  7. Even, S., Gazit, H.: Updating distances in dynamic graphs. Method. Oper. Res. 49, 371–387 (1985)

    MathSciNet  MATH  Google Scholar 

  8. Frigioni, D., Marchetti-Spaccamela, A., Nanni, U.: Semi-dynamic algorithms for maintaining single source shortest paths trees. Algorithmica 22(3), 250–274 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  9. Frigioni, D., Marchetti-Spaccamela, A., Nanni, U.: Fully dynamic algorithms for maintaining shortest paths trees. J. Algorithm 34, 351–381 (2000)

    Article  MathSciNet  Google Scholar 

  10. Henzinger, M., King, V.: Fully dynamic biconnectivity and transitive closure. In: Proc. 36th IEEE Symposium on Foundations of Computer Science (FOCS'95). IEEE Computer Society, pp. 664–672. Los Alamos (1995)

    Google Scholar 

  11. Henzinger, M., King, V.: Maintaining minimum spanning forests in dynamic graphs. SIAM J. Comp. 31(2), 364–374 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  12. Henzinger, M.R., King, V.: Randomized fully dynamic graph algorithms with polylogarithmic time per operation. J. ACM 46(4), 502–516 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  13. Holm, J., de Lichtenberg, K., Thorup, M.: Poly-logarithmic deterministic fully-dynamic algorithms for connectivity, minimum spanning tree, 2-edge, and biconnectivity. J. ACM 48, 723–760 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  14. King, V.: Fully dynamic algorithms for maintaining all-pairs shortest paths and transitive closure in digraphs. In: Proc. 40th IEEE Symposium on Foundations of Computer Science (FOCS'99). IEEE Computer Society pp. 81–99. Los Alamos (1999)

    Google Scholar 

  15. King, V., Sagert, G.: A fully dynamic algorithm for maintaining the transitive closure. J. Comp. Syst. Sci. 65(1), 150–167 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  16. King, V., Thorup, M.: A space saving trick for directed dynamic transitive closure and shortest path algorithms. In: Proceedings of the 7th Annual International Computing and Combinatorics Conference (COCOON). LNCS, vol. 2108, pp. 268–277. Springer, Berlin (2001)

    Google Scholar 

  17. Loubal, P.: A network evaluation procedure. Highway Res. Rec. 205, 96–109 (1967)

    Google Scholar 

  18. Murchland, J.: The effect of increasing or decreasing the length of a single arc on all shortest distances in a graph. Technical report, LBS-TNT-26, London Business School, Transport Network Theory Unit, London (1967)

    Google Scholar 

  19. Ramalingam, G., Reps, T.: An incremental algorithm for a generalization of the shortest path problem. J. Algorithm 21, 267–305 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  20. Rodionov, V.: The parametric problem of shortest distances. USSR Comp. Math. Math. Phys. 8(5), 336–343 (1968)

    Article  MathSciNet  Google Scholar 

  21. Rohnert, H.: A dynamization of the all-pairs least cost problem. In: Proc. 2nd Annual Symposium on Theoretical Aspects of Computer Science, (STACS'85). LNCS, vol. 182, pp. 279–286. Springer, Berlin (1985)

    Google Scholar 

  22. Thorup, M.: Fully-dynamic all-pairs shortest paths: Faster and allowing negative cycles. In: Proceedings of the 9th Scandinavian Workshop on Algorithm Theory (SWAT'04), pp. 384–396. Springer, Berlin (2004)

    Google Scholar 

  23. Thorup, M.: Worst-case update times for fully-dynamic all-pairs shortest paths. In: Proceedings of the 37th ACM Symposium on Theory of Computing (STOC 2005), ACM. New York (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag

About this entry

Cite this entry

Italiano, G. (2008). Fully Dynamic All Pairs Shortest Paths. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-30162-4_151

Download citation

Publish with us

Policies and ethics