English
Related papers

Related papers: An output-sensitive algorithm for all-pairs shorte…

200 papers

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

In most of the shortest path problems like vehicle routing problems and network routing problems, we only need an efficient path between two points source and destination, and it is not necessary to calculate the shortest path from source…

Data Structures and Algorithms · Computer Science 2009-11-03 Muhammad Aasim Qureshi , Dr. Fadzil B. Hassan , Sohail Safdar , Rehan Akbar

Given a graph and a pair of terminals $s$, $t$, the next-to-shortest path problem asks for an $s\!\to \!t$ (simple) path that is shortest among all not shortest $s\!\to \!t$ paths (if one exists). This problem was introduced in 1996, and…

Data Structures and Algorithms · Computer Science 2025-11-07 Kuowen Chen , Nicole Wein , Yiran Zhang

We give a deterministic $O(m\log^{2/3}n)$-time algorithm for single-source shortest paths (SSSP) on directed graphs with real non-negative edge weights in the comparison-addition model. This is the first result to break the $O(m+n\log n)$…

Data Structures and Algorithms · Computer Science 2025-07-31 Ran Duan , Jiayi Mao , Xiao Mao , Xinkai Shu , Longhui Yin

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

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

We consider the fundamental algorithmic problem of finding a cycle of minimum weight in a weighted graph. In particular, we show that the minimum weight cycle problem in an undirected n-node graph with edge weights in {1,...,M} or in a…

Data Structures and Algorithms · Computer Science 2011-04-15 Liam Roditty , Virginia Vassilevska Williams

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 introduce a new problem that combines the well known All Pairs Shortest Paths (APSP) problem and the All Pairs Bottleneck Paths (APBP) problem to compute the shortest paths for all pairs of vertices for all possible flow amounts. We call…

Data Structures and Algorithms · Computer Science 2013-09-24 Tong-Wook Shinn , Tadao Takaoka

In the {\em distributed all-pairs shortest paths} problem (APSP), every node in the weighted undirected distributed network (the CONGEST model) needs to know the distance from every other node using least number of communication rounds…

Distributed, Parallel, and Cluster Computing · Computer Science 2019-04-23 Aaron Bernstein , Danupon Nanongkai

Given in the plane a set $S$ of $n$ points and a set of disks centered at these points, the disk graph $G(S)$ induced by these disks has vertex set $S$ and an edge between two vertices if their disks intersect. Note that the disks may have…

Computational Geometry · Computer Science 2025-10-08 Bruce W. Brewer , Haitao Wang

We consider the Shortest Odd Path problem, where given an undirected graph $G$, a weight function on its edges, and two vertices $s$ and $t$ in $G$, the aim is to find an $(s,t)$-path with odd length and, among all such paths, of minimum…

Data Structures and Algorithms · Computer Science 2023-08-25 Alpár Jüttner , Csaba Király , Lydia Mirabel Mendoza-Cadena , Gyula Pap , Ildikó Schlotter , Yutaro Yamaguchi

Amiri and Wargalla (2020) proved the following local-to-global theorem in directed acyclic graphs (DAGs): if $G$ is a weighted DAG such that for each subset $S$ of 3 nodes there is a shortest path containing every node in $S$, then there…

Data Structures and Algorithms · Computer Science 2023-06-29 Shyan Akmal , Nicole Wein

We study computing {\em all-pairs shortest paths} (APSP) on distributed networks (the CONGEST model). The goal is for every node in the (weighted) network to know the distance from every other node using communication. The problem admits…

Distributed, Parallel, and Cluster Computing · Computer Science 2017-11-07 Chien-Chung Huang , Danupon Nanongkai , Thatchaphol Saranurak

This paper presents a new deterministic algorithm for single-source shortest paths (SSSP) on real non-negative edge-weighted directed graphs, with running time $O(m\sqrt{\log n}+\sqrt{mn\log n\log \log n})$, which is $O(m\sqrt{\log n\log…

Data Structures and Algorithms · Computer Science 2026-02-11 Ran Duan , Xiao Mao , Xinkai Shu , Longhui Yin

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

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

In the restricted shortest paths problem, we are given a graph $G$ whose edges are assigned two non-negative weights: lengths and delays, a source $s$, and a delay threshold $D$. The goal is to find, for each target $t$, the length of the…

Data Structures and Algorithms · Computer Science 2024-10-23 Vikrant Ashvinkumar , Aaron Bernstein , Adam Karczmarz

We introduce stronger notions for approximate single-source shortest-path distances, show how to efficiently compute them from weaker standard notions, and demonstrate the algorithmic power of these new notions and transformations. One…

Data Structures and Algorithms · Computer Science 2022-11-01 Václav Rozhoň , Bernhard Haeupler , Anders Martinsson , Christoph Grunau , Goran Zuzic

The shortest path problem in graphs is fundamental to AI. Nearly all variants of the problem and relevant algorithms that solve them ignore edge-weight computation time and its common relation to weight uncertainty. This implies that taking…

Data Structures and Algorithms · Computer Science 2024-03-29 Eyal Weiss , Ariel Felner , Gal A. Kaminka