We present improved oracles for the distance sensitivity problem. The goal is to preprocess a graph G = (V,E) with non-negative edge weights to answer queries of the form: what is the length of the shortest path from x to y that does not go through some <i>failed</i> vertex or edge f. There are two state of the art algorithms for this problem. The first produces an oracle of size <i>Õ</i>(n<sup>2</sup>) that has an O(1) query time, and an <i>Õ</i>(mn<sup>2</sup>) construction time. The second oracle has size O(n<sup>2.5</sup>), but the construction time is only <i>Õ</i>(mn<sup>1.5</sup>). We present two new oracles that substantially improve upon both of these results. Both oracles are constructed with randomized, Monte Carlo algorithms. For directed graphs with non-negative edge weights, we present an oracle of size <i>Õ</i>(n<sup>2</sup>), which has an O(1) query time, and an <i>Õ</i>(n<sup>2</sup>√<i>m</i>) construction time. For unweighted graphs, we achieve a more general construction time of <i>Õ</i>(√n<sup>3</sup> · <i>APSP</i> + <i>mn</i>), where APSP is the time it takes to compute all pairs shortest paths in an aribtrary subgraph of G.
[1]
Subhash Suri,et al.
Vickrey prices and shortest paths: what is an edge worth?
,
2001,
Proceedings 2001 IEEE International Conference on Cluster Computing.
[2]
Mikkel Thorup,et al.
Oracles for distances avoiding a link-failure
,
2002,
SODA '02.
[3]
L FredmanMichael,et al.
Fibonacci heaps and their uses in improved network optimization algorithms
,
1987
.
[4]
H. Chernoff.
A Measure of Asymptotic Efficiency for Tests of a Hypothesis Based on the sum of Observations
,
1952
.
[5]
Robert E. Tarjan,et al.
Fast Algorithms for Finding Nearest Common Ancestors
,
1984,
SIAM J. Comput..
[6]
D. Knuth,et al.
Mathematics for the Analysis of Algorithms
,
1999
.
[7]
Ariel Orda,et al.
QoS Routing Mechanisms and OSPF Extensions
,
1999,
RFC.
[8]
Uzi Vishkin,et al.
Recursive Star-Tree Parallel Data Structure
,
1993,
SIAM J. Comput..
[9]
Giuseppe F. Italiano,et al.
A new approach to dynamic all pairs shortest paths
,
2003,
STOC '03.