Skip to main content

Single-Source Shortest Paths

  • Reference work entry
  • First Online:
  • 101 Accesses

Years and Authors of Summarized Original Work

  • 1999; Thorup

Problem Definition

The single-source shortest path problem (SSSP) is, given a graph G = (V, E, l) and a source vertex s ∈ V, to find the shortest path from s to every v ∈ V . The difficulty of the problem depends on whether the graph is directed or undirected and the assumptions placed on the length function . In the most general situation, \(l : E \rightarrow \mathbb{R}\) assigns arbitrary (positive and negative) real lengths. The algorithms of Bellman-Ford and Edmonds [1, 4] may be applied in this situation and have running times of roughly O(mn), (Edmonds’s algorithm works for undirected graphs and presumes that there are no negative length simple cycles.) where m =  | E | and n =  | V | are the number of edges and vertices. If assigns only nonnegative real edge lengths, then the algorithms of Dijkstra and Pettie-Ramachandran [4, 13] may be applied on directed and undirected graphs, respectively. These algorithms include...

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   1,599.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD   1,999.99
Price excludes VAT (USA)
  • Durable hardcover 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

Learn about institutional subscriptions

Recommended Reading

  1. Ahuja RK, Magnati TL, Orlin JB (1993) Network flows: theory, algorithms, and applications. Prentice Hall, Englewood Cliffs

    Google Scholar 

  2. Asano Y, Imai H (2000) Practical efficiency of the linear-time algorithm for the single source shortest path problem. J Oper Res Soc Jpn 43(4):431–447

    MathSciNet  MATH  Google Scholar 

  3. Bast H, Funke S, Matijevic D, Sanders P, Schultes D (2007) In transit to constant shortest-path queries in road networks. In: Proceedings 9th workshop on algorithm engineering and experiments (ALENEX), New Orleans

    Google Scholar 

  4. Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to algorithms. MIT, Cambridge

    MATH  Google Scholar 

  5. Demetrescu C, Goldberg AV, Johnson D (2006) 9th DIMACS implementation challenge-shortest paths. http://www.dis.uniroma1.it/~challenge9/

  6. Goldberg AV (1995) Scaling algorithms for the shortest paths problem. SIAM J Comput 24(3):494–504

    Article  MathSciNet  MATH  Google Scholar 

  7. Goldberg AV (2001) Shortest path algorithms: engineering aspects. In: Proceedings of the 12th international symposium on algorithms and computation (ISAAC), Christchurch. LNCS, vol 2223. Springer, Berlin, pp 502–513

    Google Scholar 

  8. Hagerup T (2000) Improved shortest paths on the word RAM. In: Proceedings of the 27th international colloquium on automata, languages, and programming (ICALP), Geneva. LNCS, vol 1853. Springer, Berlin, pp 61–72

    Google Scholar 

  9. Han Y, Thorup M (2002) Integer sorting in \(O(n\sqrt{\log \log n})\) expected time and linear space. In: Proceedings of the 43rd symposium on foundations of computer science (FOCS), Vancouver, pp 135–144

    Google Scholar 

  10. Knopp S, Sanders P, Schultes D, Schulz F, Wagner D (2007) Computing many-to-many shortest paths using highway hierarchies. In: Proceedings of the 9th workshop on algorithm engineering and experiments (ALENEX), New Orleans

    Google Scholar 

  11. Pettie S (2002) On the comparison-addition complexity of all-pairs shortest paths. In: Proceedings of the 13th international symposium on algorithms and computation (ISAAC), Vancouver, pp 32–43

    Google Scholar 

  12. Pettie S (2004) A new approach to all-pairs shortest paths on real-weighted graphs. Theor Comput Sci 312(1):47–74

    Article  MathSciNet  MATH  Google Scholar 

  13. Pettie S, Ramachandran V (2005) A shortest path algorithm for real-weighted undirected graphs. SIAM J Comput 34(6):1398–1431

    Article  MathSciNet  MATH  Google Scholar 

  14. Pettie S, Ramachandran V, Sridhar S (2002) Experimental evaluation of a new shortest path algorithm. In: Proceedings of the 4th workshop on algorithm engineering and experiments (ALENEX), San Francisco, pp 126–142

    Google Scholar 

  15. Sanders P, Schultes D (2006) Engineering highway hierarchies. In: Proceedings of the 14th European symposium on algorithms (ESA), Zurich, pp 804–816

    Google Scholar 

  16. Thorup M (1999) Undirected single-source shortest paths with positive integer weights in linear time. J ACM 46(3):362–394

    Article  MathSciNet  MATH  Google Scholar 

  17. Thorup M (2000) Floats, integers, and single source shortest paths. J Algorithms 35:189–201

    Article  MathSciNet  MATH  Google Scholar 

  18. Thorup M (2003) Quick and good facility location. In: Proceedings of the 14th annual ACM-SIAM symposium on discrete algorithms (SODA), Baltimore, pp 178–185

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Seth Pettie .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Pettie, S. (2016). Single-Source Shortest Paths. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_377

Download citation

Publish with us

Policies and ethics