English
Related papers

Related papers: Computing the diameter polynomially faster than AP…

200 papers

We provide new tradeoffs between approximation and running time for the decremental all-pairs shortest paths (APSP) problem. For undirected graphs with $m$ edges and $n$ nodes undergoing edge deletions, we provide four new approximate…

Data Structures and Algorithms · Computer Science 2024-04-30 Michal Dory , Sebastian Forster , Yasamin Nazari , Tijn de Vos

A graph algorithm is truly subquadratic if it runs in ${\cal O}(m^b)$ time on connected $m$-edge graphs, for some positive $b < 2$. Roditty and Vassilevska Williams (STOC'13) proved that under plausible complexity assumptions, there is no…

Data Structures and Algorithms · Computer Science 2020-10-30 Guillaume Ducoffe

When can we compute the diameter of a graph in quasi linear time? We address this question for the class of {\em split graphs}, that we observe to be the hardest instances for deciding whether the diameter is at most two. We stress that…

Data Structures and Algorithms · Computer Science 2023-06-22 Guillaume Ducoffe , Michel Habib , Laurent Viennot

We study the problem of computing the diameter and the mean distance of a continuous graph, i.e., a connected graph where all points along the edges, instead of only the vertices, must be taken into account. It is known that for continuous…

Computational Geometry · Computer Science 2025-03-12 Sergio Cabello , Delia Garijo , Antonia Kalb , Fabian Klute , Irene Parada , Rodrigo I. Silveira

In this paper, we present a new randomized $O(1)$-approximation algorithm for the All-Pairs Shortest Paths (APSP) problem in weighted undirected graphs that runs in just $O(\log \log \log n)$ rounds in the Congested-Clique model. Before our…

Data Structures and Algorithms · Computer Science 2026-01-21 Hong Duc Bui , Shashwat Chandra , Yi-Jun Chang , Michal Dory , Dean Leitersdorf

We show that for any fixed integer $k \geq 0$, there exists an algorithm that computes the diameter and the eccentricies of all vertices of an input unweighted, undirected $n$-vertex graph of Euler genus at most $k$ in time \[…

Data Structures and Algorithms · Computer Science 2025-02-12 Kacper Kluk , Marcin Pilipczuk , Michał Pilipczuk , Giannos Stamoulis

The diameter of a graph is the maximum distance among all pairs of vertices. Thus a graph $G$ has diameter $d$ if any two vertices are at distance at most $d$ and there are two vertices at distance $d$. We are interested in studying the…

Combinatorics · Mathematics 2022-10-21 Laila Loudiki , Mustapha Kchikech , El Hassan Essaky

In this paper, we present an improved algorithm for the All Pairs Non-decreasing Paths (APNP) problem on weighted simple digraphs, which has running time $\tilde{O}(n^{\frac{3 + \omega}{2}}) = \tilde{O}(n^{2.686})$. Here $n$ is the number…

Data Structures and Algorithms · Computer Science 2019-04-25 Ran Duan , Ce Jin , Hongxun Wu

We present a randomized algorithm for the single-source shortest paths (SSSP) problem on directed graphs with arbitrary real-valued edge weights that runs in $n^{2+o(1)}$ time with high probability. This result yields the first almost…

Data Structures and Algorithms · Computer Science 2026-02-19 Sanjeev Khanna , Junkai Song

We initiate the study of diameter computation in geometric intersection graphs from the fine-grained complexity perspective. A geometric intersection graph is a graph whose vertices correspond to some shapes in $d$-dimensional Euclidean…

Computational Geometry · Computer Science 2022-03-11 Karl Bringmann , Sándor Kisfaludi-Bak , Marvin Künnemann , André Nusser , Zahra Parsaeian

We present an algorithm that computes the diameter of random geometric graphs (RGGs) with expected average degree ${\Theta}(n^{\delta})$ for constant ${\delta}\in(0,1)$ in $\tilde{O}(n^{\frac{3}{2}(1+{\delta})} +n^{2 -…

Data Structures and Algorithms · Computer Science 2026-03-18 Thomas Bläsius , Annemarie Schaub , Marcus Wilhelm

In the pairwise weighted spanner problem, the input consists of an $n$-vertex-directed graph, where each edge is assigned a cost and a length. Given $k$ vertex pairs and a distance constraint for each pair, the goal is to find a…

Data Structures and Algorithms · Computer Science 2023-07-10 Elena Grigorescu , Nithish Kumar , Young-San Lin

We prove several tight results on the fine-grained complexity of approximating the diameter of a graph. First, we prove that, for any $\varepsilon>0$, assuming the Strong Exponential Time Hypothesis (SETH), there are no near-linear time…

Data Structures and Algorithms · Computer Science 2021-04-05 Ray Li

Coudert et al. (SODA'18) proved that under the Strong Exponential-Time Hypothesis, for any $\epsilon >0$, there is no ${\cal O}(2^{o(k)}n^{2-\epsilon})$-time algorithm for computing the diameter within the $n$-vertex cubic graphs of…

Data Structures and Algorithms · Computer Science 2020-11-18 Guillaume Ducoffe

We present a deterministic distributed algorithm to compute all-pairs shortest paths(APSP) in an edge-weighted directed or undirected graph. Our algorithm runs in $\tilde{O}(n^{3/2})$ rounds in the Congest model, where $n$ is the number of…

Data Structures and Algorithms · Computer Science 2018-04-17 Udit Agarwal , Vijaya Ramachandran , Valerie King , Matteo Pontecorvi

We study the directed global minimum vertex-cut problem: given a directed vertex-weighted graph $G$, compute a vertex-cut $(L,S,R)$ in $G$ of minimum value, which is defined to be the total weight of all vertices in $S$. The problem,…

Data Structures and Algorithms · Computer Science 2026-01-01 Julia Chuzhoy , Ron Mosenzon , Ohad Trabelsi

Median graphs form the class of graphs which is the most studied in metric graph theory. Recently, B\'en\'eteau et al. [2019] designed a linear-time algorithm computing both the $\Theta$-classes and the median set of median graphs. A…

Data Structures and Algorithms · Computer Science 2021-05-27 Pierre Bergé , Michel Habib

Consider the setting of \emph{randomly weighted graphs}, namely, graphs whose edge weights are chosen independently according to probability distributions with finite support over the non-negative reals. Under this setting, properties of…

Data Structures and Algorithms · Computer Science 2010-03-30 Yuval Emek , Amos Korman , Yuval Shavitt

In this paper we show a deterministic parallel all-pairs shortest paths algorithm for real-weighted directed graphs. The algorithm has $\tilde{O}(nm+(n/d)^3)$ work and $\tilde{O}(d)$ depth for any depth parameter $d\in [1,n]$. To the best…

Data Structures and Algorithms · Computer Science 2021-01-08 Adam Karczmarz , Piotr Sankowski

We present the first deterministic nearly-linear time algorithm for single-source shortest paths with negative edge weights on directed graphs: given a directed graph $G$ with $n$ vertices, $m$ edges whose weights are integer in…

Data Structures and Algorithms · Computer Science 2025-11-12 Bernhard Haeupler , Yonggang Jiang , Thatchaphol Saranurak