Skip to main content

Fully-Dynamic All-Pairs Shortest Paths: Faster and Allowing Negative Cycles

  • Conference paper
Algorithm Theory - SWAT 2004 (SWAT 2004)

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

Included in the following conference series:

Abstract

We present a solution to the fully-dynamic all pairs shortest path problem for a directed graph with arbitrary weights allowing negative cycles. We support each vertex update in \(O(n^2({\rm log} n + {\rm log^2}(\overline{m}/n)))\) amortized time. Here, n is the number vertices, m the number of edges and \(\overline{m} = n + m\). A vertex update inserts or deletes a vertex with all incident edges, and we update a complete distance matrix accordingly. The algorithm runs on a comparison-addition based pointer-machine.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Demetrescu, C., Italiano, G.: A new approach to dynamic all pairs shortest paths. In: Proc. 35th STOC, pp. 159–166 (2003)

    Google Scholar 

  2. Demetrescu, C., Italiano, G.: A new approach to dynamic all pairs shortest paths (2004) ,Full version of [1] available at http://www.dis.uniroma1.it/~demetres/

  3. Dijkstra, E.W.: A note on two problems in connexion with graphs. Numer. Math. 1, 269–271 (1959)

    Article  MATH  MathSciNet  Google Scholar 

  4. Fredman, M.L., Tarjan, R.E.: Fibonacci heaps and their uses in improved network optimization algorithms. J. ACM 34(3), 596–615 (1987)

    Article  MathSciNet  Google Scholar 

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

    Article  MATH  MathSciNet  Google Scholar 

  6. King, V.: Fully dynamic algorithms for maintaining all-pairs shortest paths and transitive closure in digraphs. In: Proc. 40th FOCS, pp. 81–89 (1999)

    Google Scholar 

  7. King, V., Thorup, M.: A space saving trick for directed dynamic transitive closure and shortest path algorithms. In: Wang, J. (ed.) COCOON 2001. LNCS, vol. 2108, pp. 268–277. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  8. Pettie, S.: A faster all-pairs shortest path algorithm for real-weighted sparse graphs. In: Widmayer, P., Triguero, F., Morales, R., Hennessy, M., Eidenbenz, S., Conejo, R. (eds.) ICALP 2002. LNCS, vol. 2380, pp. 85–97. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  9. Thorup, M.: Integer priority queues with decrease key in constant time and the single source shortest paths problem. In: Proc. 35th STOC, pp. 149–158 (2003)

    Google Scholar 

  10. Thorup, M.: Worst-case update times for fully-dynamic all-pairs shortest paths (2004) (submitted)

    Google Scholar 

  11. Williams, J.W.J.: Algorithm 232. Comm. ACM 7(6), 347–348 (1964)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Thorup, M. (2004). Fully-Dynamic All-Pairs Shortest Paths: Faster and Allowing Negative Cycles. In: Hagerup, T., Katajainen, J. (eds) Algorithm Theory - SWAT 2004. SWAT 2004. Lecture Notes in Computer Science, vol 3111. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-27810-8_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-27810-8_33

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22339-9

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics