Faster Monotone Min-Plus Product, Range Mode, and Single Source Replacement Paths

05/06/2021
by   Yuzhou Gu, et al.
0

One of the most basic graph problems, All-Pairs Shortest Paths (APSP) is known to be solvable in n^3-o(1) time, and it is widely open whether it has an O(n^3-ϵ) time algorithm for ϵ > 0. To better understand APSP, one often strives to obtain subcubic time algorithms for structured instances of APSP and problems equivalent to it, such as the Min-Plus matrix product. A natural structured version of Min-Plus product is Monotone Min-Plus product which has been studied in the context of the Batch Range Mode [SODA'20] and Dynamic Range Mode [ICALP'20] problems. This paper improves the known algorithms for Monotone Min-Plus Product and for Batch and Dynamic Range Mode, and establishes a connection between Monotone Min-Plus Product and the Single Source Replacement Paths (SSRP) problem on an n-vertex graph with potentially negative edge weights in {-M, …, M}. SSRP with positive integer edge weights bounded by M can be solved in Õ(Mn^ω) time, whereas the prior fastest algorithm for graphs with possibly negative weights [FOCS'12] runs in O(M^0.7519 n^2.5286) time, the current best running time for directed APSP with small integer weights. Using Monotone Min-Plus Product, we obtain an improved O(M^0.8043 n^2.4957) time SSRP algorithm, showing that SSRP with constant negative integer weights is likely easier than directed unweighted APSP, a problem that is believed to require n^2.5-o(1) time. Complementing our algorithm for SSRP, we give a reduction from the Bounded-Difference Min-Plus Product problem studied by Bringmann et al. [FOCS'16] to negative weight SSRP. This reduction shows that it might be difficult to obtain an Õ(M n^ω) time algorithm for SSRP with negative weight edges, thus separating the problem from SSRP with only positive weight edges.

READ FULL TEXT

page 1

page 3

page 5

page 11

page 19

page 21

research
08/04/2022

Improved Bounds for Rectangular Monotone Min-Plus Product

In a recent breakthrough paper, Chi et al. (STOC'22) introduce an Õ(n^3 ...
research
10/10/2019

Truly Subcubic Min-Plus Product for Less Structured Matrices, with Applications

The goal of this paper is to get truly subcubic algorithms for Min-Plus ...
research
02/11/2021

Algorithms, Reductions and Equivalences for Small Weight Variants of All-Pairs Shortest Paths

APSP with small integer weights in undirected graphs [Seidel'95, Galil a...
research
04/09/2022

Faster Min-Plus Product for Monotone Instances

In this paper, we show that the time complexity of monotone min-plus pro...
research
10/17/2021

Faster Algorithms for Bounded-Difference Min-Plus Product

Min-plus product of two n× n matrices is a fundamental problem in algori...
research
11/14/2019

{-1,0,1}-APSP and (min,max)-Product Problems

In the {-1,0,1}-APSP problem the goal is to compute all-pairs shortest p...
research
12/13/2021

Factorization and pseudofactorization of weighted graphs

For unweighted graphs, finding isometric embeddings is closely related t...

Please sign up or login with your details

Forgot password? Click here to reset