Skip to main content

Distance Oracles for Sparse Graphs

  • Reference work entry
  • First Online:
Encyclopedia of Algorithms
  • 183 Accesses

Years and Authors of Summarized Original Work

  • 2005; Thorup, Zwick

  • 2012; PÇŽtraÅŸcu, Roditty

  • 2012; PÇŽtraÅŸcu, Roditty, Thorup

Problem Definition

Let G = (V, E) be a weighted undirected graph with n vertices and m edges. A distance oracle is a data structure capable of representing almost shortest paths efficiently, both in terms of space requirement and query time. Thorup and Zwick [7] showed that for any integer k ≥ 1 it is possible to preprocess the graph in \(\tilde{O}(mn^{1/k})\) time and generate a compact data structure of size \(O(kn^{1+1/k})\) that answers approximate distance queries with 2k − 1 multiplicative stretch in O(k) time. This means that for every u, v ∈ V, it is possible to retrieve an estimate \(\hat{d}(u,v)\) to the distance d(u, v) in O(k) time, such that \(d(u,v) \leq \hat{ d}(u,v) \leq (2k - 1)d(u,v)\). Recently, [8] showed, using a clever query algorithm, that the query time of Thorup and Zwick can be reduced from O(k) to O(logk). Even more recently, [1] showed...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Chechik S (2014) Approximate distance oracles with constant query time. In: STOC, New York

    Book  MATH  Google Scholar 

  2. ErdÅ‘s P (1964) Extremal problems in graph theory. In: Simonovits M (ed) Theory of graphs and its applications, pp 29–36. https://www.renyi.hu/~p_erdos/1970-22.pdf

  3. PÇŽtraÅŸcu M (2008) (Data) structures. In: Proceedings of 49th FOCS, Philadelphia, pp 434–443

    Google Scholar 

  4. Pǎtraşcu M, Roditty L (2014) Distance oracles beyond the Thorup-Zwick bound. SIAM J Comput 43(1):300–311

    Article  MathSciNet  MATH  Google Scholar 

  5. PÇŽtraÅŸcu M, Roditty L, Thorup M (2012) A new infinity of distance oracles for sparse graphs. In: FOCS, New Brunswick, pp 738–747

    Google Scholar 

  6. Sommer C, Verbin E, Yu W (2009) Distance oracles for sparse graphs. In: Proceedings of 50th FOCS, Atlanta, pp 703–712

    Google Scholar 

  7. Thorup M, Zwick U (2005) Approximate distance oracles. JACM 52(1):1–24

    Article  MathSciNet  MATH  Google Scholar 

  8. Wulff-Nilsen C (2013) Approximate distance oracles with improved query time. In: SODA, New Orleans, pp 539–549

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Liam Roditty .

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

Roditty, L. (2016). Distance Oracles for Sparse Graphs. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_571

Download citation

Publish with us

Policies and ethics