English
Related papers

Related papers: Faster Replacement Paths

200 papers

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

In this paper, we study a set of combinatorial optimization problems on weighted graphs: the shortest path problem with negative weights, the weighted perfect bipartite matching problem, the unit-capacity minimum-cost maximum flow problem…

Data Structures and Algorithms · Computer Science 2016-07-15 Michael B. Cohen , Aleksander Madry , Piotr Sankowski , Adrian Vladu

In the directed detour problem one is given a digraph $G$ and a pair of vertices $s$ and~$t$, and the task is to decide whether there is a directed simple path from $s$ to $t$ in $G$ whose length is larger than $\mathsf{dist}_{G}(s,t)$. The…

Discrete Mathematics · Computer Science 2023-01-09 Meike Hatzel , Konrad Majewski , Michał Pilipczuk , Marek Sokołowski

This paper considers fully dynamic graph algorithms with both faster worst case update time and sublinear space. The fully dynamic graph connectivity problem is the following: given a graph on a fixed set of n nodes, process an online…

Data Structures and Algorithms · Computer Science 2015-09-23 David Gibb , Bruce Kapron , Valerie King , Nolan Thorn

Given a graph and two fixed vertices $s$ and $t$, the Replacement Path Problem (RP) is to compute for every edge $e$, the distance between $s$ and $t$ when $e$ is removed. There are two natural extensions to RP: (1) Single Source…

Data Structures and Algorithms · Computer Science 2026-05-05 Jakob Nogler , Virginia Vassilevska Williams

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

We consider approximations for computing minimum weighted cuts in directed graphs. We consider both rooted and global minimum cuts, and both edge-cuts and vertex-cuts. For these problems we give randomized Monte Carlo algorithms that…

Data Structures and Algorithms · Computer Science 2021-04-15 Kent Quanrud

In the decremental single-source shortest paths (SSSP) problem we want to maintain the distances between a given source node $s$ and every other node in an $n$-node $m$-edge graph $G$ undergoing edge deletions. While its static counterpart…

Data Structures and Algorithms · Computer Science 2018-08-20 Monika Henzinger , Sebastian Krinninger , Danupon Nanongkai

Given a directed graph, we show how to efficiently find a shortest (directed, simple) cycle on an even number of vertices. As far as we know, no polynomial-time algorithm was previously known for this problem. In fact, finding any even…

Data Structures and Algorithms · Computer Science 2021-11-05 Andreas Björklund , Thore Husfeldt , Petteri Kaski

We investigate the time-complexity of the All-Pairs Max-Flow problem: Given a graph with $n$ nodes and $m$ edges, compute for all pairs of nodes the maximum-flow value between them. If Max-Flow (the version with a given source-sink pair…

Data Structures and Algorithms · Computer Science 2019-07-11 Amir Abboud , Robert Krauthgamer , Ohad Trabelsi

Given a directed graph $G$ with arbitrary real-valued weights, the single source shortest-path problem (SSSP) asks for, given a source $s$ in $G$, finding a shortest path from $s$ to each vertex $v$ in $G$. A classical SSSP algorithm…

Data Structures and Algorithms · Computer Science 2019-03-06 Sanjiang Li , Yongming Li

We give the first parallel algorithm with optimal $\tilde{O}(m)$ work for the classical problem of computing Single-Source Shortest Paths in general graphs with negative-weight edges. In graphs without negative edges, Dijkstra's algorithm…

Data Structures and Algorithms · Computer Science 2024-10-29 Nick Fischer , Bernhard Haeupler , Rustam Latypov , Antti Roeyskoe , Aurelio L. Sulser

The textbook algorithm for real-weighted single-source shortest paths takes $O(m n)$ time on a graph with $m$ edges and $n$ vertices. The breakthrough algorithm by Fineman [Fin24] takes $\tilde{O}(m n^{8/9})$ randomized time. The running…

Data Structures and Algorithms · Computer Science 2025-12-16 Yufan Huang , Peter Jin , Kent Quanrud

Our work concerns algorithms for an unweighted variant of Maximum Flow. In the All-Pairs Connectivity (APC) problem, we are given a graph $G$ on $n$ vertices and $m$ edges, and are tasked with computing the maximum number of edge-disjoint…

Data Structures and Algorithms · Computer Science 2023-05-04 Shyan Akmal , Ce Jin

This paper is about the problem of finding a shortest $s$-$t$ path using at most $h$ edges in edge-weighted graphs. The Bellman--Ford algorithm solves this problem in $O(hm)$ time, where $m$ is the number of edges. We show that this running…

Data Structures and Algorithms · Computer Science 2023-02-15 Tomasz Kociumaka , Adam Polak

We combine the well known Shortest Paths (SP) problem and the Bottleneck Paths (BP) problem to introduce a new problem called the Shortest Paths for All Flows (SP-AF) problem that has relevance in real life applications. We first solve the…

Data Structures and Algorithms · Computer Science 2013-11-21 Tong-Wook Shinn , Tadao Takaoka

This paper will analyze several quadratic-time solvable problems, and will classify them into two classes: problems that are solvable in truly subquadratic time (that is, in time $O(n^{2-\epsilon})$ for some $\epsilon>0$) and problems that…

Computational Complexity · Computer Science 2014-07-21 Michele Borassi , Pierluigi Crescenzi , Michel Habib

In this paper we consider the fundamental problem of approximating the diameter $D$ of directed or undirected graphs. In a seminal paper, Aingworth, Chekuri, Indyk and Motwani [SIAM J. Comput. 1999] presented an algorithm that computes in…

Data Structures and Algorithms · Computer Science 2012-07-17 Liam Roditty , Virginia Vassilevska Williams

In this paper we provide an algorithm which given any $m$-edge $n$-vertex directed graph with integer capacities at most $U$ computes a maximum $s$-$t$ flow for any vertices $s$ and $t$ in $m^{11/8+o(1)}U^{1/4}$ time with high probability.…

Data Structures and Algorithms · Computer Science 2019-11-01 Yang P. Liu , Aaron Sidford

We give an algorithm for finding the arboricity of a weighted, undirected graph, defined as the minimum number of spanning forests that cover all edges of the graph, in $\sqrt{n} m^{1+o(1)}$ time. This improves on the previous best bound of…

Data Structures and Algorithms · Computer Science 2025-07-22 Ruoxu Cen , Henry Fleischmann , George Z. Li , Jason Li , Debmalya Panigrahi