Computing All-Pairs Shortest Paths by Leveraging Low Treewidth
Not on the map. Why?
Abstract (arXiv)
We present two new and efficient algorithms for computing all-pairs shortest paths. The algorithms operate on directed graphs with real (possibly negative) weights. They make use of directed path consistency along a vertex ordering d. Both algorithms run in O(n^2 w_d) time, where w_d is the graph width induced by this vertex ordering. For graphs of constant treewidth, this yields O(n^2) time, which is optimal. On chordal graphs, the algorithms run in O(nm) time. In addition, we present a variant that exploits graph separators to arrive at a run time of O(n w_d^2 + n^2 s_d) on general graphs, where s_d andlt= w_d is the size of the largest minimal separator induced by the vertex ordering d. We show empirically that on both constructed and realistic benchmarks, in many cases the algorithms outperform Floyd-Warshalls as well as Johnsons algorithm, which represent the current state of the art with a run time of O(n^3) and O(nm + n^2 log n), respectively. Our algorithms can be used for spatial and temporal reasoning, such as for the Simple Temporal Problem, which underlines their relevance to the planning and scheduling community.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Jan 2014.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 1.
3 papers.
- 2021Propositional Encodings of Acyclicity and Reachability by using Vertex Eliminationcited by 3
- 2021Efficient Temporal Piecewise-Linear Numeric Planning with Lazy Consistency Checkingcited by 0
- 2023QuickCent: a fast and frugal heuristic for harmonic centrality estimation on scale-free networkscited by 0
- 2023QuickCent: a fast and frugal heuristic for harmonic centrality estimation on scale-free networks2 Mar 2023
- 2021Propositional Encodings of Acyclicity and Reachability by using Vertex Elimination27 May 2021
- 2021Efficient Temporal Piecewise-Linear Numeric Planning with Lazy Consistency Checking21 May 2021