Finding single-source shortest p-disjoint paths: fast computation and sparse preservers

Let G be a directed graph with n vertices, m edges, and non-negative edge costs. Given G, a fixed source vertex s, and a positive integer p, we consider the problem of computing, for each vertex t 6= s, p edge-disjoint paths of minimum total cost from s to t in G. Suurballe and Tarjan [Networks, 1984] solved the above problem for p = 2 by designing a O(m+ n log n) time algorithm which also computes a sparse single-source 2-multipath preserver, i.e., a subgraph containing 2 edge-disjoint paths of minimum total cost from s to every other vertex of G. The case p ≥ 3 was left as an open problem. We study the general problem (p ≥ 2) and prove that any graph admits a sparse single-source p-multipath preserver with p(n− 1) edges. This size is optimal since the in-degree of each non-root vertex v must be at least p. Moreover, we design an algorithm that requires O(pn(p+ log n)) time to compute both p edge-disjoint paths of minimum total cost from the source to all other vertices and an optimal-size single-source p-multipath preserver. The running time of our algorithm outperforms that of a natural approach that solves n− 1 single-pair instances using the well-known successive shortest paths algorithm by a factor of Θ( m np ) and is asymptotically near optimal if p = O(1) and m = Θ(n). Our results extend naturally to the case of p vertex-disjoint paths. 1 ar X iv :2 10 6. 12 29 3v 1 [ cs .D S] 2 3 Ju n 20 21

[1]  David P. Dobkin,et al.  On sparse spanners of weighted graphs , 1993, Discret. Comput. Geom..

[2]  Manoj Gupta,et al.  Multiple Source Dual Fault Tolerant BFS Trees , 2017, ICALP.

[3]  Laurent Viennot,et al.  Node-Disjoint Multipath Spanners and Their Relationship with Fault-Tolerant Spanners , 2011, OPODIS.

[4]  David Peleg,et al.  Multipath Spanners via Fault-Tolerant Spanners , 2012, MedAlg.

[5]  Liam Roditty,et al.  Fault-Tolerant Subgraph for Single-Source Reachability: General and Optimal , 2018, SIAM J. Comput..

[6]  Harold N. Gabow A matroid approach to finding edge connectivity and packing arborescences , 1991, STOC '91.

[7]  Liam Roditty,et al.  Approximate Single-Source Fault Tolerant Shortest Path , 2018, SODA.

[8]  Ravindra K. Ahuja,et al.  Network Flows: Theory, Algorithms, and Applications , 1993 .

[9]  Merav Parter,et al.  Dual Failure Resilient BFS Structure , 2015, PODC.

[10]  Stephen G. Kobourov,et al.  Graph Spanners: A Tutorial Review , 2020, Comput. Sci. Rev..

[11]  David Peleg,et al.  Sparse Fault-Tolerant BFS Structures , 2016, ACM Trans. Algorithms.

[12]  David Peleg,et al.  Fault Tolerant Approximate BFS Structures , 2014, SODA.

[13]  Fabrizio Grandoni,et al.  Preserving Distances in Very Faulty Graphs , 2017, ICALP.

[14]  Ronald L. Rivest,et al.  Introduction to Algorithms, 3rd Edition , 2009 .

[15]  John E. Hopcroft,et al.  The Directed Subgraph Homeomorphism Problem , 1978, Theor. Comput. Sci..

[16]  Béla Bollobás,et al.  Extremal problems in graph theory , 1977, J. Graph Theory.

[17]  Stefano Leucci,et al.  Multiple-Edge-Fault-Tolerant Approximate Shortest-Path Trees , 2016, STACS.

[18]  Virginia Vassilevska Williams,et al.  Better Distance Preservers and Additive Spanners , 2015, SODA.