English
Related papers

Related papers: An $n^{2+o(1)}$ Time Algorithm for Single-Source N…

200 papers

In the Single Source Replacement Paths (SSRP) problem we are given a graph $G = (V, E)$, and a shortest paths tree $\widehat{K}$ rooted at a node $s$, and the goal is to output for every node $t \in V$ and for every edge $e$ in…

Data Structures and Algorithms · Computer Science 2020-04-29 Shiri Chechik , Ofer Magen

We consider the single-source shortest paths problem on a directed graph with real-valued (possibly negative) edge weights and solve this problem in $n^{2+o(1)}$ time by refining the shortcutting procedure introduced in Li, Li, Rao, and…

Data Structures and Algorithms · Computer Science 2026-02-19 George Z. Li , Jason Li , Junkai Zhang

This paper presents a randomized algorithm for the problem of single-source shortest paths on directed graphs with real (both positive and negative) edge weights. Given an input graph with $n$ vertices and $m$ edges, the algorithm completes…

Data Structures and Algorithms · Computer Science 2023-11-14 Jeremy T. Fineman

This paper presents parallel, distributed and quantum algorithms for single-source shortest paths when edges can have negative weights (negative-weight SSSP). We show a framework that reduces negative-weight SSSP in all these setting to…

Distributed, Parallel, and Cluster Computing · Computer Science 2024-12-20 Vikrant Ashvinkumar , Aaron Bernstein , Nairen Cao , Christoph Grunau , Bernhard Haeupler , Yonggang Jiang , Danupon Nanongkai , Hsin Hao Su

The approximate single-source shortest-path problem is as follows: given a graph with nonnegative edge weights and a designated source vertex $s$, return estimates of the distances from~$s$ to each other vertex such that the estimate falls…

Data Structures and Algorithms · Computer Science 2019-12-12 Nairen Cao , Jeremy T. Fineman , Katina Russell

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

Given an arbitrary, non-negatively weighted, directed graph $G=(V,E)$ we present an algorithm that computes all pairs shortest paths in time $\mathcal{O}(m^* n + m \lg n + nT_\psi(m^*, n))$, where $m^*$ is the number of different edges…

Data Structures and Algorithms · Computer Science 2013-01-01 Andrej Brodnik , Marko Grgurovič

The Constraint Shortest Path (CSP) problem is as follows. An $n$-vertex graph is given, each edge/arc assigned two weights. Let us call them "cost" and "length" for definiteness. Finding a min-cost upper-bounded length path between a given…

Data Structures and Algorithms · Computer Science 2022-04-12 Adil Erzin , Roman Plotnikov , Ilya Ladygin

We describe a new forward-backward variant of Dijkstra's and Spira's Single-Source Shortest Paths (SSSP) algorithms. While essentially all SSSP algorithm only scan edges forward, the new algorithm scans some edges backward. The new…

Data Structures and Algorithms · Computer Science 2014-05-30 David B. Wilson , Uri Zwick

In this work we revisit the fundamental Single-Source Shortest Paths (SSSP) problem with possibly negative edge weights. A recent breakthrough result by Bernstein, Nanongkai and Wulff-Nilsen established a near-linear $O(m \log^8(n)…

Data Structures and Algorithms · Computer Science 2023-04-12 Karl Bringmann , Alejandro Cassis , Nick Fischer

We consider the problem of computing all pairs shortest paths (APSP) and shortest paths for k sources in a weighted graph in the distributed CONGEST model. For graphs with non-negative integer edge weights (including zero weights) we build…

Data Structures and Algorithms · Computer Science 2018-10-22 Udit Agarwal , Vijaya Ramachandran

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 straightforward dynamic programming method for the single-source shortest paths problem (SSSP) in an edge-weighted directed acyclic graph (DAG) processes the vertices in a topologically sorted order. First, we similarly iterate this…

Data Structures and Algorithms · Computer Science 2021-08-10 Andrzej Lingas , Mia Persson , Dzmitry Sledneu

In this paper, we revisit the classic approximate All-Pairs Shortest Paths (APSP) problem in undirected graphs. For unweighted graphs, we provide an algorithm for $2$-approximate APSP in $\tilde O(n^{2.5-r}+n^{\omega(r)})$ time, for any…

Data Structures and Algorithms · Computer Science 2023-10-31 Michal Dory , Sebastian Forster , Yael Kirkpatrick , Yasamin Nazari , Virginia Vassilevska Williams , Tijn de Vos

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

In this paper, I present an algorithm called Raffica algorithm for Single-Source Shortest Path(SSSP). On random graph, this algorithm has linear time complexity(in expect). More precisely, the random graph uses configuration model, and the…

Data Structures and Algorithms · Computer Science 2018-09-19 Dexin Li

We present two new algorithms for solving the {\em All Pairs Shortest Paths} (APSP) problem for weighted directed graphs. Both algorithms use fast matrix multiplication algorithms. The first algorithm solves the APSP problem for weighted…

Data Structures and Algorithms · Computer Science 2007-05-23 Uri Zwick

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

We study the decremental All-Pairs Shortest Paths (APSP) problem in undirected edge-weighted graphs. The input to the problem is an $n$-vertex $m$-edge graph $G$ with non-negative edge lengths, that undergoes a sequence of edge deletions.…

Data Structures and Algorithms · Computer Science 2021-09-14 Julia Chuzhoy

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

Data Structures and Algorithms · Computer Science 2025-12-01 Kent Quanrud , Navid Tajkhorshid