English
Related papers

Related papers: Verifying Shortest Paths in Linear Time

200 papers

We present an algorithm for the Single Source Shortest Paths (SSSP) problem in \emph{$H$-minor free} graphs. For every fixed $H$, if $G$ is a graph with $n$ vertices having integer edge lengths and $s$ is a designated source vertex of $G$,…

Data Structures and Algorithms · Computer Science 2008-09-18 Raphael Yuster

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

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 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

Computing a shortest path between two nodes in an undirected unweighted graph is among the most basic algorithmic tasks. Breadth first search solves this problem in linear time, which is clearly also a lower bound in the worst case.…

Data Structures and Algorithms · Computer Science 2023-08-01 Noga Alon , Allan Grønlund , Søren Fuglede Jørgensen , Kasper Green Larsen

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

Here the All-pairs shortest path problem on weighted undirected sparse graphs is being considered. For the problem considered, we propose ``disassembly and assembly of a graph'' algorithm which uses a solution of the problem on a…

Data Structures and Algorithms · Computer Science 2013-08-08 Urakov , Timeryaev

We investigate the Minimum Eccentricity Shortest Path problem in some structured graph classes. It asks for a given graph to find a shortest path with minimum eccentricity. Although it is NP-hard in general graphs, we demonstrate that a…

Discrete Mathematics · Computer Science 2015-11-17 Feodor F. Dragan , Arne Leitert

A shortest-path algorithm finds a path containing the minimal cost between two vertices in a graph. A plethora of shortest-path algorithms is studied in the literature that span across multiple disciplines. This paper presents a survey of…

Data Structures and Algorithms · Computer Science 2017-05-08 Amgad Madkour , Walid G. Aref , Faizan Ur Rehman , Mohamed Abdur Rahman , Saleh Basalamah

In the celebrated paper of Henzinger, Klein, Rao and Subramanian (1997), it was shown that planar graphs admit a linear time single-source shortest path algorithm. Their algorithm unfortunately does not extend to Euclidean graph classes. We…

Computational Geometry · Computer Science 2026-03-25 Joachim Gudmundsson , Yuan Sha , Sampson Wong

One model of message delivery in a computer network is based on labelling each edge by a subset of a (reasonably small) universal set, and then encoding a path as the union of the labels of its edges. Earlier work suggested using random…

Combinatorics · Mathematics 2018-06-26 Gokce Caylak Kayaturan , Alexei Vernitski

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

Let G=(V,E)(|V|=n and |E|=m) be an undirected graph with positive edge weights. Let P_{G}(s, t) be a shortest s-t path in G. Let l be the number of edges in P_{G}(s, t). The \emph{Edge Replacement Path} problem is to compute a shortest s-t…

Data Structures and Algorithms · Computer Science 2015-11-24 Anjeneya Swami Kare

A signed tree model of a graph $G$ is a compact binary structure consisting of a rooted binary tree whose leaves are bijectively mapped to the vertices of $G$, together with 2-colored edges $xy$, called transversal pairs, interpreted as…

Data Structures and Algorithms · Computer Science 2026-02-19 Édouard Bonnet , Colin Geniet , Eun Jung Kim , Sungmin Moon

We prove that the single-source shortest-path problem on disk graphs can be solved in $O(n\log n)$ time, and that it can be solved on intersection graphs of fat triangles in $O(n\log^2 n)$ time.

Computational Geometry · Computer Science 2025-06-10 Mark de Berg , Sergio Cabello

Let $G$ be a unit disk graph in the plane defined by $n$ disks whose positions are known. For the case when $G$ is unweighted, we give a simple algorithm to compute a shortest path tree from a given source in $O(n\log n)$ time. For the case…

Computational Geometry · Computer Science 2014-11-19 Sergio Cabello , Miha Jejčič

We study a constrained shortest path problem in group-labeled graphs with nonnegative edge length, called the shortest non-zero path problem. Depending on the group in question, this problem includes two types of tractable variants in…

Data Structures and Algorithms · Computer Science 2021-09-10 Yoichi Iwata , Yutaro Yamaguchi

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

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

Given a directed acyclic graph with positive edge-weights, two vertices s and t, and a threshold-weight L, we present a fully-polynomial time approximation-scheme for the problem of counting the s-t paths of length at most L. We extend the…

Data Structures and Algorithms · Computer Science 2013-10-14 Matúš Mihalák , Rastislav Šrámek , Peter Widmayer

We present a randomized algorithm that computes single-source shortest paths (SSSP) in $O(m\log^8(n)\log W)$ time when edge weights are integral and can be negative. This essentially resolves the classic negative-weight SSSP problem. The…

Data Structures and Algorithms · Computer Science 2025-05-21 Aaron Bernstein , Danupon Nanongkai , Christian Wulff-Nilsen