Abstract
We present an O(n 3(log log n/log n)5/4) time algorithm for all pairs shortest paths. This algorithm improves on the best previous result of O(n 3/log n) time.
Similar content being viewed by others
References
Aho, A.V., Hopcroft, J.E., Ullman, J.D.: The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading (1974)
Aho, A.V., Hopcroft, J.E., Ullman, J.D.: Data Structures and Algorithms. Addison-Wesley, Reading (1983)
Albers, S., Hagerup, T.: Improved parallel integer sorting without concurrent writing. Inf. Comput. 136, 25–51 (1997)
Batcher, K.E.: Sorting networks and their applications. In: Proc. 1968 AFIPS Spring Joint Summer Computer Conference, pp. 307–314 (1968)
Chan, T.M.: All-pairs shortest paths with real weights in O(n 3/log n) time. In: Proc. 9th Workshop Algorithms Data Structures. Lecture Notes in Computer Science, vol. 3608, pp. 318–324. Springer, New York (2005)
Dobosiewicz, W.: A more efficient algorithm for min-plus multiplication. Int. J. Comput. Math. 32, 49–60 (1990)
Fredman, M.L.: New bounds on the complexity of the shortest path problem. SIAM J. Comput. 5, 83–89 (1976)
Fredman, M.L., Tarjan, R.: Fibonacci heaps and their uses in improved network optimization algorithms. J. ACM 34, 596–615 (1987)
Galil, Z., Margalit, O.: All pairs shortest distances for graphs with small integer length edges. Inf. Comput. 134, 103–139 (1997)
Han, Y.: Improved algorithms for all pairs shortest paths. Inf. Process. Lett. 91, 245–250 (2004)
Han, Y.: Achieving O(n 3/log n) time for all pairs shortest paths by using a smaller table. In: Proc. 21st Int. Conf. on Computers and Their Applications (CATA-2006), Seattle, Washington, pp. 36–37 (2006). To appear in Information Processing Letters as “A note of an O(n 3/log n) time algorithm for all pairs shortest paths”
Pettie, S.: A faster all-pairs shortest path algorithm for real-weighted sparse graphs. In: Proceedings of 29th International Colloquium on Automata, Languages, and Programming (ICALP’02). Lecture Notes in Computer Science, vol. 2380, pp. 85-97 (2002)
Pettie, S., Ramachandran, V.: A shortest path algorithm for real-weighted undirected graphs. SIAM J. Comput. 34(6), 1398–1431 (2005)
Sankowski, P.: Shortest paths in matrix multiplication time. In: Proceedings of 13th Annual European Symposium on Algorithms. Lecture Notes in Computer Science, vol. 3669, pp. 770–778 (2005)
Seidel, R.: On the all-pairs-shortest-path problem in unweighted undirected graphs. J. Comput. Syst. Sci. 51, 400–403 (1995)
Takaoka, T.: A new upper bound on the complexity of the all pairs shortest path problem. Inf. Process. Lett. 43, 195–199 (1992)
Takaoka, T.: An O(n 3log log n/log n) time algorithm for the all-pairs shortest path problem. Inf. Process. Lett. 96, 155–161 (2005)
Thorup, M.: Undirected single source shortest paths with positive integer weights in linear time. J. ACM 46(3), 362–394 (1999)
Yuster, R., Zwick, U.: Answering distance queries in directed graphs using fast matrix multiplication. In: 46th Annual IEEE Symposium on Foundations of Computer Science. Los Alamitos, CA, USA, pp. 389–396. IEEE Comput. Soc. (2005)
Zwick, U.: All pairs shortest paths using bridging sets and rectangular matrix multiplication. J. ACM 49(3), 289–317 (2002)
Zwick, U.: A slightly improved sub-cubic algorithm for the all pairs shortest paths problem. In: Proceedings of ISAAC 2004. Lecture Notes in Computer Science, vol. 3341, pp. 921–932. Springer, Berlin (2004)
Author information
Authors and Affiliations
Corresponding author
Additional information
Research supported in part by NSF grant 0310245.
Rights and permissions
About this article
Cite this article
Han, Y. An O(n 3(log log n/log n)5/4) Time Algorithm for All Pairs Shortest Path. Algorithmica 51, 428–434 (2008). https://doi.org/10.1007/s00453-007-9063-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-007-9063-0