Abstract
Let G(V,E) be an unweighted undirected graph on |V | = n vertices. Let δ(u,v) denote the shortest distance between vertices u,v ∈ V. An algorithm is said to compute all-pairs t-approximate shortest-paths/distances, for some t ≥ 1, if for each pair of vertices u,v ∈ V, the path/distance reported by the algorithm is not longer/greater than t · δ(u,v).
This paper presents two randomized algorithms for computing all-pairs nearly 2-approximate distances. The first algorithm takes expected O(m 2/3 n log n + n 2) time, and for any u,v ∈ V reports distance no greater than 2δ(u,v) + 1. Our second algorithm requires expected O(n 2 log3/2) time, and for any u,v ∈ V reports distance bounded by 2δ(u,v)+3.
This paper also presents the first expected O(n 2) time algorithm to compute all-pairs 3-approximate distances.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Baswana, S., Sen, S.: Approximate distance oracles for unweighted graphs in Õ(n2) time. In: Proceedings of the 15th ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 271–280 (2004)
Cohen, E., Zwick, U.: All-pairs small stretch paths. Journal of Algorithms 38, 335–353 (2001)
Dor, D., Halperin, S., Zwick, U.: All pairs almost shortest paths. Siam Journal on Computing 29, 1740–1759 (2000)
Elkin, M.: Computing almost shortest paths. In: Proceedings of the 20th Annual ACM Symposium on Principles of Distributed Computing, pp. 53–62 (2001)
Fredman, M.L., Komlós, J., Szemerédi, E.: Storing a sparse table with o(1) worst case time. Journal of ACM 31, 538–544 (1984)
Pettie, S.: A new approach to all-pairs shortest paths on real-weighted graphs. Theoretical Computer Science 312, 47–74 (2004)
Thorup, M., Zwick, U.: Approximate distance oracle. In: Proceedings of 33rd ACM Symposium on Theory of Computing (STOC), pp. 183–192 (2001)
Thorup, M., Zwick, U.: Compact routing schemes. In: 13th Annual ACM Symposium on Parallel Algorithms and Architectures, pp. 1–10 (2001)
Zwick, U.: Exact and approximate distances in graphs - a survey. In: Meyer auf der Heide, F. (ed.) ESA 2001. LNCS, vol. 2161, pp. 33–48. Springer, Heidelberg (2001)
Zwick, U.: Slightly improved sub-cubic bound for computing all-pairs shortest paths. In: Fleischer, R., Trippen, G. (eds.) ISAAC 2004. LNCS, vol. 3341, pp. 921–932. Springer, Heidelberg (2004)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Baswana, S., Goyal, V., Sen, S. (2005). All-Pairs Nearly 2-Approximate Shortest-Paths in O(n 2 polylog n) Time. In: Diekert, V., Durand, B. (eds) STACS 2005. STACS 2005. Lecture Notes in Computer Science, vol 3404. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-31856-9_55
Download citation
DOI: https://doi.org/10.1007/978-3-540-31856-9_55
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-24998-6
Online ISBN: 978-3-540-31856-9
eBook Packages: Computer ScienceComputer Science (R0)