English
Related papers

Related papers: A Polynomial-Time Algorithm for the Next-to-Shorte…

200 papers

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

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

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

The $k$ disjoint shortest paths problem ($k$-DSPP) on a graph with $k$ source-sink pairs $(s_i, t_i)$ asks for the existence of $k$ pairwise edge- or vertex-disjoint shortest $s_i$-$t_i$-paths. It is known to be NP-complete if $k$ is part…

Combinatorics · Mathematics 2018-09-12 Marinus Gottschau , Marcus Kaiser , Clara Waldmann

In this work, we follow the current trend on temporal graph realization, where one is given a property P and the goal is to determine whether there is a temporal graph, that is, a graph where the edge set changes over time, with property P…

Data Structures and Algorithms · Computer Science 2025-10-03 Justine Cauvi , Nils Morawietz , Laurent Viennot

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

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

The problem of finding multiple simple shortest paths in a weighted directed graph $G=(V,E)$ has many applications, and is considerably more difficult than the corresponding problem when cycles are allowed in the paths. Even for a single…

Data Structures and Algorithms · Computer Science 2016-02-24 Udit Agarwal , Vijaya Ramachandran

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

Finding a simple path of even length between two designated vertices in a directed graph is a fundamental NP-complete problem known as the EvenPath problem. Nedev proved in 1999, that for directed planar graphs, the problem can be solved in…

Data Structures and Algorithms · Computer Science 2024-07-02 Archit Chauhan , Samir Datta , Chetan Gupta , Vimal Raj Sharma

We propose an optimal algorithm for solving the longest path problem in undirected weighted graphs. By using graph partitioning and dynamic programming, we obtain an algorithm that is significantly faster than other state-of-the-art…

Data Structures and Algorithms · Computer Science 2017-02-15 Tomas Balyo , Kai Fieger , Christian Schulz

In this paper we study a variant of the shortest path problem in graphs: given a weighted graph G and vertices s and t, and given a set X of forbidden paths in G, find a shortest s-t path P such that no path in X is a subpath of P. Path P…

Discrete Mathematics · Computer Science 2009-02-11 Mustaq Ahmed , Anna Lubiw

Finding diverse solutions in combinatorial problems recently has received considerable attention (Baste et al. 2020; Fomin et al. 2020; Hanaka et al. 2021). In this paper we study the following type of problems: given an integer $k$, the…

Data Structures and Algorithms · Computer Science 2021-12-16 Tesshu Hanaka , Yasuaki Kobayashi , Kazuhiro Kurita , See Woo Lee , Yota Otachi

Consider the single-source shortest paths problem on a directed graph with real-valued edge weights. We solve this problem in $O(n^{2.5}\log^{4.5}n)$ time, improving on prior work of Fineman (STOC 2024) and Huang-Jin-Quanrud (SODA 2025,…

Data Structures and Algorithms · Computer Science 2025-11-18 George Z. Li , Jason Li , Satish Rao , Junkai Zhang

We revisit the classic problem of dynamically maintaining shortest paths between all pairs of nodes of a directed weighted graph. The allowed updates are insertions and deletions of nodes and their incident edges. We give worst-case…

Data Structures and Algorithms · Computer Science 2018-03-02 Ittai Abraham , Shiri Chechik , Sebastian Krinninger

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

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

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

Given a graph, the shortest-path problem requires finding a sequence of edges with minimum cumulative length that connects a source vertex to a target vertex. We consider a variant of this classical problem in which the position of each…

Discrete Mathematics · Computer Science 2024-05-10 Tobia Marcucci , Jack Umenberger , Pablo A. Parrilo , Russ Tedrake

Given an undirected graph and two disjoint vertex pairs $s_1,t_1$ and $s_2,t_2$, the Shortest two disjoint paths problem (S2DP) asks for the minimum total length of two vertex disjoint paths connecting $s_1$ with $t_1$, and $s_2$ with…

Data Structures and Algorithms · Computer Science 2018-06-21 Andreas Björklund , Thore Husfeldt