Efficient parameterized algorithms for computing all-pairs shortest paths

01/14/2020
by   Stefan Kratsch, et al.
0

Computing all-pairs shortest paths is a fundamental and much-studied problem with many applications. Unfortunately, despite intense study, there are still no significantly faster algorithms for it than the O(n^3) time algorithm due to Floyd and Warshall (1962). Somewhat faster algorithms exist for the vertex-weighted version if fast matrix multiplication may be used. Yuster (SODA 2009) gave an algorithm running in time O(n^2.842), but no combinatorial, truly subcubic algorithm is known. Motivated by the recent framework of efficient parameterized algorithms (or "FPT in P"), we investigate the influence of the graph parameters clique-width (cw) and modular-width (mw) on the running times of algorithms for solving All-Pairs Shortest Paths. We obtain efficient (and combinatorial) parameterized algorithms on non-negative vertex-weighted graphs of times O(cw^2n^2), resp. O(mw^2n + n^2). If fast matrix multiplication is allowed then the latter can be improved to O(mw^1.842n + n^2) using the algorithm of Yuster as a black box. The algorithm relative to modular-width is adaptive, meaning that the running time matches the best unparameterized algorithm for parameter value mw equal to n, and they outperform them already for mw ∈O(n^1 - ε) for any ε > 0.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/16/2020

Centralized and Parallel Multi-Source Shortest Paths via Hopsets and Fast Matrix Multiplication

Consider an undirected weighted graph G = (V,E,w). We study the problem ...
research
04/24/2019

Faster Algorithms for All Pairs Non-decreasing Paths Problem

In this paper, we present an improved algorithm for the All Pairs Non-de...
research
09/28/2022

Efficient parameterized algorithms on graphs with heterogeneous structure: Combining tree-depth and modular-width

Many computational problems admit fast algorithms on special inputs, how...
research
04/17/2023

Traversing combinatorial 0/1-polytopes via optimization

In this paper, we present a new framework that exploits combinatorial op...
research
07/17/2020

All-Pairs LCA in DAGs: Breaking through the O(n^2.5) barrier

Let G=(V,E) be an n-vertex directed acyclic graph (DAG). A lowest common...
research
05/05/2019

MapReduce Meets Fine-Grained Complexity: MapReduce Algorithms for APSP, Matrix Multiplication, 3-SUM, and Beyond

Distributed processing frameworks, such as MapReduce, Hadoop, and Spark ...
research
09/22/2016

Scaling betweenness centrality using communication-efficient sparse matrix multiplication

Betweenness centrality (BC) is a crucial graph problem that measures the...

Please sign up or login with your details

Forgot password? Click here to reset