arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.02154cs.DS
收藏

有向无环图(DAG)中的不相交路径及两条不相交最短路径的更快算法

Faster Algorithms for Disjoint Paths in DAGs and Two Disjoint Shortest Paths

Pennsylvania State University(宾夕法尼亚州立大学);Jilin University(吉林大学);Tsinghua University(清华大学)

Yang Cao, Haoran Qi, Hanzhi Wang

AI总结:

该研究打破了DAG中k≥3条不相交路径的四十余年算法时间界限,提出随机算法,还给出两条不相交最短路径的快速算法,均基于多项式求值与首次碰撞电路等技术。

摘要:

对于有向无环图(DAG)中具有指定端点的k条顶点不相交路径,Fortune、Hopcroft和Wyllie于1980年提出的时间复杂度为O(mn^{k-1})的 pebbling 算法,在过去四十多年里始终是k≥3时的最快算法,即便要求这些路径为最短路径亦是如此。我们针对所有k≥3的情况打破了这一界限,提出了随机算法,其期望运行时间为O_k(m+n^{k-3+ω+ε})(其中ε>0,ω<2.372为矩阵乘法指数),等价于O_k(m+n^{k-0.62})。对于两条不相交最短路径,我们能以与检测路径相同的速度找到它们:在DAG和具有多项式有界整数权重的无向图上为期望线性时间,在循环具有正权重的有向图上为期望O(min{mn,n^{ω+ε}})时间,在稠密图上即便检测也为o(mn)。所有算法均对以解为单项式的多项式进行求值:一种新的首次碰撞电路可加快DAG中的求值,而在每条路径恰好穿过一次的割处进行的相关提取步骤,仅需常数次求值即可找到一个解。

英文摘要:

For $k$ vertex-disjoint paths with prescribed endpoints in a directed acyclic graph (DAG), the $O(mn^{k-1})$-time pebbling algorithm of Fortune, Hopcroft, and Wyllie [TCS 1980] has remained the fastest for every $k\geq3$ for over four decades, even when the paths must be shortest. We break this bound for every $k\geq3$ with randomized algorithms running in expected $O_k(m+n^{k-3+ω+\varepsilon})$ time for every $\varepsilon>0$, where $ω<2.372$ is the matrix multiplication exponent; this is $O_k(m+n^{k-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(\min\{mn,n^{ω+\varepsilon}\})$ 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑