Algorithms and Lower Bounds for Replacement Paths under Multiple Edge Failures
Abstract
This paper considers a natural fault-tolerant shortest paths problem: for some constant integer , given a directed weighted graph with no negative cycles and two fixed vertices and , compute (either explicitly or implicitly) for every tuple of edges, the distance from to if these edges fail. We call this problem -Fault Replacement Paths (FRP). We first present an time algorithm for FRP in -vertex directed graphs with arbitrary edge weights and no negative cycles. As FRP is a generalization of the well-studied Replacement Paths problem (RP) that asks for the distances between and for any single edge failure, 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], FRP is at least as hard as APSP, and thus a substantially subcubic time algorithm in the number of vertices for FRP would be a breakthrough. Therefore, our algorithm in time is conditionally nearly optimal. Our algorithm implies an time algorithm for the FRP problem, giving the first improvement over the straightforward time algorithm. Then we focus on the restriction of FRP to graphs with small integer weights bounded by in absolute values. Using fast rectangular matrix multiplication, we obtain a randomized algorithm that runs in time. This implies an improvement over our time arbitrary weight algorithm for all . 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 conditional lower bound for combinatorial FRP algorithms in directed unweighted graphs.
Cite
@article{arxiv.2209.07016,
title = {Algorithms and Lower Bounds for Replacement Paths under Multiple Edge Failures},
author = {Virginia Vassilevska Williams and Eyob Woldeghebriel and Yinzhan Xu},
journal= {arXiv preprint arXiv:2209.07016},
year = {2022}
}
Comments
To appear in FOCS 2022; Abstract shortened to fit arXiv requirements