English

Multiple Source Replacement Path Problem

Data Structures and Algorithms 2020-05-22 v2

Abstract

One of the classical line of work in graph algorithms has been the Replacement Path Problem: given a graph GG, ss and tt, find shortest paths from ss to tt avoiding each edge ee on the shortest path from ss to tt. These paths are called replacement paths in literature. For an undirected and unweighted graph, (Malik, Mittal, and Gupta, Operation Research Letters, 1989) and (Hershberger and Suri, FOCS 2001) designed an algorithm that solves the replacement path problem in O~(m+n)\tilde O(m+n) time. It is natural to ask whether we can generalize the replacement path problem: {\em can we find all replacement paths from a source ss to all vertices in GG?} This problem is called the Single Source Replacement Path Problem. Recently (Chechik and Cohen, SODA 2019) designed a randomized combinatorial algorithm that solves the Single Source Replacement Path Problem in O~(mn +n2)\tilde O(m\sqrt n\ + n^2) time. One of the questions left unanswered by their work is the case when there are many sources, not one. When there are nn sources, the combinatorial algorithm of (Bernstein and Karger, STOC 2009) can be used to find all pair replacement path in O~(mn+n3)\tilde O(mn + n^3) time. However, there is no result known for any general σ\sigma. Thus, the problem we study is defined as follows: given a set of σ\sigma sources, we want to find the replacement path from these sources to all vertices in GG. We give a randomized combinatorial algorithm for this problem that takes O~(mnσ+ σn2)\tilde O(m\sqrt{n \sigma} +\ \sigma n^2) time. This result generalizes both results known for this problem. Our algorithm is much different and arguably simpler than (Chechik and Cohen, SODA 2019). Like them, we show a matching conditional lower bound using the Boolean Matrix Multiplication conjecture.

Keywords

Cite

@article{arxiv.2005.09262,
  title  = {Multiple Source Replacement Path Problem},
  author = {Manoj Gupta and Rahul Jain and Nitiksha Modi},
  journal= {arXiv preprint arXiv:2005.09262},
  year   = {2020}
}

Comments

Accepted in PODC 2020