Faster Algorithms for Disjoint Paths in DAGs and Two Disjoint Shortest Paths
Yang Cao, Haoran Qi, Hanzhi Wang
Abstract
For k vertex-disjoint paths with prescribed endpoints in a directed acyclic graph (DAG), the O(mnk-1)-time pebbling algorithm of Fortune, Hopcroft, and Wyllie [TCS 1980] has remained the fastest for every k≥3 for over four decades, even when the paths must be shortest. We break this bound for every k≥3 with randomized algorithms running in expected Ok(m+nk-3+ω+) time for every >0, where ω<2.372 is the matrix multiplication exponent; this is Ok(m+nk-0.62). For two disjoint shortest paths, we find the paths as fast as we detect them: in expected linear time on DAGs and on undirected graphs with polynomially bounded integer weights, and in expected O(\mn,nω+\) time on directed graphs whose cycles have positive weight, which on dense graphs is o(mn) even for detection. All algorithms evaluate a polynomial whose monomials are the solutions: a new first-collision circuit speeds up the evaluation in DAGs, and a correlated extraction step at cuts crossed once by every path finds a solution at the cost of a constant number of evaluations.
Create a lesson
Related papers
State Evolution and Universality of Iterated Linear Programs for the Binary Perceptron
Jianan Zhang, Shuangping Li
Metric TSP in Sublinear Time: Breaking Two Approximation
Amir Azarmehr, Soheil Behnezhad
Testing Implies Distance Estimation with Polynomial Loss
Gaia Carenini, Cameron Seth
Online Metric Matching with Unknown i.i.d. Arrivals
Tsubasa Harada
Incremental Open Addressing Has No Time-Space Tradeoff
Martín Farach-Colton, Andrew Krapivin, William Kuszmaul
A Constant-Factor Approximation for Capacitated Facility Location with Outliers
Rajni Dabas