Almost Shortest Paths with Near-Additive Error in Weighted Graphs

preprint2022arXivOpen access

Abstract

Let G=(V,E,w)G=(V,E,w) be a weighted undirected graph with nn vertices and mm edges, and fix a set of ss sources S⊆VS\subseteq V. We study the problem of computing {\em almost shortest paths} (ASP) for all pairs in S×VS \times V in both classical centralized and parallel (PRAM) models of computation. Consider the regime of multiplicative approximation of 1+ε1+ε, for an arbitrarily small constant ε>0ε> 0 . In this regime existing centralized algorithms require Ω(min⁡{∣E∣s,nω})Ω(\min\{|E|s,n^ω\}) time, where ω<2.372ω< 2.372 is the matrix multiplication exponent. Existing PRAM algorithms with polylogarithmic depth (aka time) require work Ω(min⁡{∣E∣s,nω})Ω(\min\{|E|s,n^ω\}). Our centralized algorithm has running time O((m+ns)nρ)O((m+ ns)n^ρ), and its PRAM counterpart has polylogarithmic depth and work O((m+ns)nρ)O((m + ns)n^ρ), for an arbitrarily small constant ρ>0ρ> 0. For a pair (s,v)∈S×V(s,v) \in S\times V, it provides a path of length d^(s,v)\hat{d}(s,v) that satisfies d^(s,v)≤(1+ε)dG(s,v)+β⋅W(s,v)\hat{d}(s,v) \le (1+ε)d_G(s,v) + β\cdot W(s,v), where W(s,v)W(s,v) is the weight of the heaviest edge on some shortest s−vs-v path. Hence our additive term depends linearly on a {\em local} maximum edge weight, as opposed to the global maximum edge weight in previous works. Finally, our β=(1/ρ)O(1/ρ)β= (1/ρ)^{O(1/ρ)}. We also extend a centralized algorithm of Dor et al. \cite{DHZ00}. For a parameter κ=1,2,…κ= 1,2,\ldots, this algorithm provides for {\em unweighted} graphs a purely additive approximation of 2(κ−1)2(κ-1) for {\em all pairs shortest paths} (APASP) in time O~(n2+1/κ)\tilde{O}(n^{2+1/κ}). Within the same running time, our algorithm for {\em weighted} graphs provides a purely additive error of 2(κ−1)W(u,v)2(κ- 1) W(u,v), for every vertex pair (u,v)∈(V2)(u,v) \in {V \choose 2}, with W(u,v)W(u,v) defined as above. On the way to these results we devise a suit of novel constructions of spanners, emulators and hopsets.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.