skip to main content
article
Free Access

Efficient Algorithms for Shortest Paths in Sparse Networks

Authors Info & Claims
Published:01 January 1977Publication History
Skip Abstract Section

Abstract

Algorithms for finding shortest paths are presented which are faster than algorithms previously known on networks which are relatively sparse in arcs. Known results which the results of this paper extend are surveyed briefly and analyzed. A new implementation for priority queues is employed, and a class of “arc set partition” algorithms is introduced. For the single source problem on networks with nonnegative arcs a running time of O(min(n1+1/k + e, n + e) log n)) is achieved, where there are n nodes and e arcs, and k is a fixed integer satisfying k > 0. This bound is O(e) on dense networks. For the single source and all pairs problem on unrestricted networks the running time is O(min(n2+1/k + ne, n2 log n + ne log n).

References

  1. 1 AHO, A V , HOPCROFT, J E , AND ULLMAN, J D The Destgn and Analysts of Computer Algortthms Addison-Wesley, Reading, Mass , 1974 Google ScholarGoogle Scholar
  2. 2 BELLMAN, R E On a routing problem Quart Appl Math 16, 1 (1958), 87-90Google ScholarGoogle Scholar
  3. 3 BERGE, C Theorle des Graphs et Ses Apphcatlons Dunod, Pans, 1958Google ScholarGoogle Scholar
  4. 4 DANTZIG, G B On the shortest route through a network Manage Sct 6, 2 (1960), 187-190Google ScholarGoogle Scholar
  5. 5 DANa'ZIG, G B All shortest routes m a graph Proc Int Symp on Theory of Graphs (Rome, 1966), Gordon and Breach, New York, 1967, pp 91-92Google ScholarGoogle Scholar
  6. 6 DANTZIG, G B, BLAI"rNER, W O , AND RAO, M R All shortest routes from a fixed ongm in a graph Proc Int Symp on Theory of Graphs (Rome, 1966), Gordon and Breach, New York, 1967, pp 85-90Google ScholarGoogle Scholar
  7. 7 DIJKSTRA, E W A note on two problems m connexion with graphs. Numer Math 1 (1959), 269-271Google ScholarGoogle Scholar
  8. 8 DREYFUS, S E An appraisal of some shortest-path algorithms Operattons Res 17, 3 (May-June 1969), 395-412Google ScholarGoogle Scholar
  9. 9 EDMONDS, J , AND KARP, R M Theoretical ~mprovements m algorithmic effioency for network flow problems J ACM 19, 2 (April 1972), 248-264 Google ScholarGoogle Scholar
  10. 10 FLOYD, F W Algorithm 97~ shortest path Comm ACM 5, 6 (June 1962), 345 Google ScholarGoogle Scholar
  11. 11 FORD. L R JR, AND FULKERSON, D R Flows m Networks Princeton U Press, Prin~~eon, N J , 1962Google ScholarGoogle Scholar
  12. 12 FREDMAN, M L On the decision tree complexity of the shortest path problems Conf Rec 16th Annual IEEE Syrup on Foundations Comptr. Sc~, Oct 1975, 98-99Google ScholarGoogle Scholar
  13. 13 FREOMAN, M L New bounds on the complexity of the shortest path problem SIAM J Comput 5, 1 (March 1976), 83-89Google ScholarGoogle Scholar
  14. 14 HOFFMAN, A J , AND WINOGRAO, S Finding all shortest &stances In a directed network IBM J Res Devel. 16, 4 (July 1972), 412-414Google ScholarGoogle Scholar
  15. 15 Hu, T C, AND TORRES, W.T Shortcut in the decomposition algorithm for shortest paths m a network IBM J Res Devel 13, 4 (July 1969), 387-390Google ScholarGoogle Scholar
  16. 16 JOHNSON, D B Algorithms for shortest paths Tech Rep 73-169, Dep Comptr Sci, CorneU U, ithaca, N Y , May 1973, available as PB-220 872, NTIS, Springfield, VaGoogle ScholarGoogle Scholar
  17. 17 JOHNSON, D B A note on Dqkstra's shortest path algorithm J ACM 20, 3 (July 1973), 385-388 Google ScholarGoogle Scholar
  18. 18 JOHNSON, D B Priority queues with update and finding minimum spanning trees lnformatton Processmg Letters 4, 3 (Dec 1975), 53-57Google ScholarGoogle Scholar
  19. 19 JOHNSON, E L On shortest paths and sorting Proc ACM 25th Annual Conf, Aug 1972, pp 510-517 Google ScholarGoogle Scholar
  20. 20 KARP, R M Reduobdlty among combinatorial problems In Complexity of Computer Computattons,{ R E Miller and J W Thatcher, Eds, Plenum Press, New York, 1972, pp 85-103Google ScholarGoogle Scholar
  21. 21 KNUTH, D E The Art of Computer Programming, Vol I Fundamental Algortthms Addison-Wesley, Reading, Mass , 1968 Google ScholarGoogle Scholar
  22. 22 KNUTH, D E The Art of Computer Programming, Vol 3 Sorting and Searching Addison-Wesley, Reading, Mass, 1973 Google ScholarGoogle Scholar
  23. 23 LAWLER, E L Combmatortal Opttmtzauon Networks and Matrotds Holt, Rinehart, and Winston, New York, I976Google ScholarGoogle Scholar
  24. 24 MOORE, E F. The shortest path through a maze Proc Int Symp. on Theory of Switching, Part II, April 2-5, 1957; Annals of the Computation Lab of Harvard Untverslty 30, Harvard U Press, Cambridge, Mass, 1959, pp 285-292Google ScholarGoogle Scholar
  25. 25 MOR~,VEK, J A note upon mlmmal path problem J Math Anal Appl 30 (1970), 702-717Google ScholarGoogle Scholar
  26. 26 NEMI-IAVSER, G L A generahzed permanent label setting algorithm for the shortest path between specified nodes J Math Anal Appl 38, 2 (May 1972), 328-334Google ScholarGoogle Scholar
  27. 27 NILSSON, N J. Problem-Solwng Methods m Arttfictal Intelhgence McGraw-Hall, New York, 1971 Google ScholarGoogle Scholar
  28. 28 PmRCE, A R Bibliography on algorithms for shortest path, shortest spanning tree and related circuit routing problems (1956-1974) Networks 5, 2 (Aprd 1975), 129-149Google ScholarGoogle Scholar
  29. 29 WAGNER, R A A shortest path algorithm for edge-sparse graphs J ACM 23, 1 (Jan 1976), 50-57 Google ScholarGoogle Scholar
  30. 30 WARSnALL, S A theorem on Boolean matrices J ACM 9, 1 (Jan 1962), 11-12 Google ScholarGoogle Scholar
  31. 31 YEN, J Y A shortest path algorithm Ph.D Th , U of California, Berkeley, Cahf, 1970.Google ScholarGoogle Scholar
  32. 32 YEN, J Y An a|gonthm for finding shortest routes from all source nodes to a given destination m general networks Quart Appl Math 27, 4 (Jan 1970), 526-530Google ScholarGoogle Scholar
  33. 33 YEN, J Y Fmdlng the lengths of all shortest paths in N-node nonnegatlve-&stance complete networks using ~ N3 additions and N3 comparisons J A CM 19, 3 (July 1972), 423-424 Google ScholarGoogle Scholar

Index Terms

  1. Efficient Algorithms for Shortest Paths in Sparse Networks

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        • Published in

          cover image Journal of the ACM
          Journal of the ACM  Volume 24, Issue 1
          Jan. 1977
          175 pages
          ISSN:0004-5411
          EISSN:1557-735X
          DOI:10.1145/321992
          Issue’s Table of Contents

          Copyright © 1977 ACM

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 January 1977
          Published in jacm Volume 24, Issue 1

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader