Approximate distance oracles
Mikkel Thorup, Uri Zwick · ACM Symposium on Theory of Computing (STOC) · 2001
Let G=(V,E) be an undirected weighted graph with |V|=n and |E|=m. Let k\ge 1 be an integer. We show that G=(V,E) can be preprocessed in O(kmn^{1/k}) expected time, constructing a data structure of size O(kn^{1+1/k}), such that any subsequent distance query can be answered, approximately, in O(k) time. The approximate distance returned is of stretch at most 2k-1, i.e., the quotient obtained by dividing the estimated distance by the actual distance lies between 1 and 2k-1. We show that a 1963 girth conjecture of Erd{\H{o}}s, implies that ω(n^{1+1/k}) space is needed in the worst case for any real stretch strictly smaller than 2k+1. The space requirement of our algorithm is, therefore, essentially optimal. The most impressive feature of our data structure is its constant query time, hence the name oracle. Previously, data structures that used only O(n^{1+1/k}) space had a query time of ω(n^{1/k}) and a slightly larger, non-optimal, stretch. Our algorithms are extremely simple and easy to implement efficiently. They also provide faster constructions of sparse spanners of weighted graphs, and improved tree covers and distance labelings of weighted or unweighted graphs.}
Cited by 201 works. doi:10.1145/380752.380798
Authors
References
- On the shortest spanning subtree of a graph and the traveling salesman problem
- Introduction to Algorithms
- A note on two problems in connexion with graphs
- Randomized Algorithms
- Universal classes of hash functions
- The Probabilistic Method
- Extremal Graph Theory
- Fibonacci heaps and their uses in improved network optimization algorithms
- Introduction to algorithms [2nd ed.]
- Storing a Sparse Table with 0 (1) Worst Case Access Time