arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2209.07016cs.DS
收藏

多边失效下的替换路径算法及下界

Algorithms and Lower Bounds for Replacement Paths under Multiple Edge Failures

Virginia Vassilevska Williams, Eyob Woldeghebriel, Yinzhan Xu

摘要:

本文考虑一个自然容错最短路问题:对于某个常数整数$f$,给定一个没有负圈且有两个固定顶点$s$和$t$的有向赋权图,对每个$f$边元组,计算(显式或隐式)当这些边失效时从$s$到$t$的距离.我们称这个问题为$f$ -故障替换路径($f$ FRP)。我们首先给出了在$n$ -顶点有向图中求解$2$ FRP的一个$\tilde{O}(n^3)$时间算法,该图具有任意边权且没有负圈。由于$2$ FRP是充分研究的替换路径问题(RP)的推广,该问题要求任何单边故障的$s$和$t$之间的距离,因此$2$ FRP至少与RP一样难。由于具有任意权重的图中的RP在细粒度意义上等价于所有对最短路径(APSP)[Vassilevska Williams and Williams FOCS'10,J.~ ACM'18],$2$ FRP至少与APSP一样难,因此$2$ FRP的顶点数的基本上亚立方时间算法将是一个突破。因此,我们的算法在$\tilde{O}(n^3)$时间内有条件地接近最优。我们的算法意味着一个$\tilde{O}(n^{f+1})$时间算法的$f$ FRP问题,给出了第一个改进的直接$O(n^{f+2})$时间算法。然后,我们重点讨论了$2$ FRP的限制,以$M$的绝对值为界的小整数重量的图。使用快速矩形矩阵乘法,我们得到了一个随机算法,运行在$\tilde{O}(M^{2/3}n^{2.9153})$时间。这意味着对所有$f>1$的$\tilde{O}(n^{f+1})$时间任意权重算法的改进。我们还提出了一个数据结构的算法,可以权衡预处理和查询时间的变体。除了代数算法外,我们还给出了有向无权图上组合$2$ FRP算法的$n^{8/3-o(1)}$条件下界.

英文摘要:

This paper considers a natural fault-tolerant shortest paths problem: for some constant integer $f$, given a directed weighted graph with no negative cycles and two fixed vertices $s$ and $t$, compute (either explicitly or implicitly) for every tuple of $f$ edges, the distance from $s$ to $t$ if these edges fail. We call this problem $f$-Fault Replacement Paths ($f$FRP). We first present an $\tilde{O}(n^3)$ time algorithm for $2$FRP in $n$-vertex directed graphs with arbitrary edge weights and no negative cycles. As $2$FRP is a generalization of the well-studied Replacement Paths problem (RP) that asks for the distances between $s$ and $t$ for any single edge failure, $2$FRP is at least as hard as RP. Since RP in graphs with arbitrary weights is equivalent in a fine-grained sense to All-Pairs Shortest Paths (APSP) [Vassilevska Williams and Williams FOCS'10, J.~ACM'18], $2$FRP is at least as hard as APSP, and thus a substantially subcubic time algorithm in the number of vertices for $2$FRP would be a breakthrough. Therefore, our algorithm in $\tilde{O}(n^3)$ time is conditionally nearly optimal. Our algorithm implies an $\tilde{O}(n^{f+1})$ time algorithm for the $f$FRP problem, giving the first improvement over the straightforward $O(n^{f+2})$ time algorithm. Then we focus on the restriction of $2$FRP to graphs with small integer weights bounded by $M$ in absolute values. Using fast rectangular matrix multiplication, we obtain a randomized algorithm that runs in $\tilde{O}(M^{2/3}n^{2.9153})$ time. This implies an improvement over our $\tilde{O}(n^{f+1})$ time arbitrary weight algorithm for all $f>1$. We also present a data structure variant of the algorithm that can trade off pre-processing and query time. In addition to the algebraic algorithms, we also give an $n^{8/3-o(1)}$ conditional lower bound for combinatorial $2$FRP algorithms in directed unweighted graphs.

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

↑