Skip to main content

All-Pairs Nearly 2-Approximate Shortest-Paths in O(n 2 polylog n) Time

  • Conference paper
STACS 2005 (STACS 2005)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3404))

Included in the following conference series:

Abstract

Let G(V,E) be an unweighted undirected graph on |V | = n vertices. Let δ(u,v) denote the shortest distance between vertices u,vV. An algorithm is said to compute all-pairs t-approximate shortest-paths/distances, for some t ≥ 1, if for each pair of vertices u,vV, 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,vV reports distance no greater than 2δ(u,v) + 1. Our second algorithm requires expected O(n 2 log3/2) time, and for any u,vV 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.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. 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)

    Google Scholar 

  2. Cohen, E., Zwick, U.: All-pairs small stretch paths. Journal of Algorithms 38, 335–353 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  3. Dor, D., Halperin, S., Zwick, U.: All pairs almost shortest paths. Siam Journal on Computing 29, 1740–1759 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  4. Elkin, M.: Computing almost shortest paths. In: Proceedings of the 20th Annual ACM Symposium on Principles of Distributed Computing, pp. 53–62 (2001)

    Google Scholar 

  5. 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)

    Article  MATH  Google Scholar 

  6. Pettie, S.: A new approach to all-pairs shortest paths on real-weighted graphs. Theoretical Computer Science 312, 47–74 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  7. Thorup, M., Zwick, U.: Approximate distance oracle. In: Proceedings of 33rd ACM Symposium on Theory of Computing (STOC), pp. 183–192 (2001)

    Google Scholar 

  8. Thorup, M., Zwick, U.: Compact routing schemes. In: 13th Annual ACM Symposium on Parallel Algorithms and Architectures, pp. 1–10 (2001)

    Google Scholar 

  9. 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)

    Chapter  Google Scholar 

  10. 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)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics