English
Related papers

Related papers: Finding a Shortest Non-zero Path in Group-Labeled …

200 papers

Consider a directed or an undirected graph with integral edge weights from the set [-W, W], that does not contain negative weight cycles. In this paper, we introduce a general framework for solving problems on such graphs using matrix…

Data Structures and Algorithms · Computer Science 2012-08-20 Marek Cygan , Harold N. Gabow , Piotr Sankowski

We consider global problems, i.e. problems that take at least diameter time, even when the bandwidth is not restricted. We show that all problems considered admit efficient solutions in low-treewidth graphs. By ``efficient'' we mean that…

Distributed, Parallel, and Cluster Computing · Computer Science 2022-05-31 Taisuke Izumi , Naoki Kitamura , Takamasa Naruse , Gregory Schwartzman

The shortest path problem in graphs is a cornerstone of AI theory and applications. Existing algorithms generally ignore edge weight computation time. We present a generalized framework for weighted directed graphs, where edge weight can be…

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

In the decremental single-source shortest paths (SSSP) problem, the input is an undirected graph $G=(V,E)$ with $n$ vertices and $m$ edges undergoing edge deletions, together with a fixed source vertex $s\in V$. The goal is to maintain a…

Data Structures and Algorithms · Computer Science 2020-09-21 Julia Chuzhoy , Thatchaphol Saranurak

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

The parametric shortest path problem is to find the shortest paths in graph where the edge costs are of the form w_ij+lambda where each w_ij is constant and lambda is a parameter that varies. The problem is to find shortest path trees for…

Data Structures and Algorithms · Computer Science 2015-06-02 Neal Young , Robert Tarjan , James Orlin

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

In the $k$-Disjoint Shortest Paths ($k$-DSP) problem, we are given a weighted graph $G$ on $n$ nodes and $m$ edges with specified source vertices $s_1, \dots, s_k$, and target vertices $t_1, \dots, t_k$, and are tasked with determining if…

Data Structures and Algorithms · Computer Science 2024-05-13 Shyan Akmal , Virginia Vassilevska Williams , Nicole Wein

Fine-grained reductions have established equivalences between many core problems with $\tilde{O}(n^3)$-time algorithms on $n$-node weighted graphs, such as Shortest Cycle, All-Pairs Shortest Paths (APSP), Radius, Replacement Paths, Second…

Data Structures and Algorithms · Computer Science 2020-05-07 Andrea Lincoln , Virginia Vassilevska Williams , Ryan Williams

Given an undirected graph $G=(V,E)$ with positive edge lengths and two vertices $s$ and $t$, the next-to-shortest path problem is to find an $st$-path which length is minimum amongst all $st$-paths strictly longer than the shortest path…

Data Structures and Algorithms · Computer Science 2012-03-22 Bang Ye Wu

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

The (non-uniform) sparsest cut problem is the following graph-partitioning problem: given a "supply" graph, and demands on pairs of vertices, delete some subset of supply edges to minimize the ratio of the supply edges cut to the total…

Data Structures and Algorithms · Computer Science 2021-06-01 Vincent Cohen-Addad , Anupam Gupta , Philip N. Klein , Jason Li

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

Given a graph $G$, the longest path problem asks to compute a simple path of $G$ with the largest number of vertices. This problem is the most natural optimization version of the well known and well studied Hamiltonian path problem, and…

Discrete Mathematics · Computer Science 2010-04-27 George B. Mertzios , Derek G. Corneil

We study the fully dynamic All-Pairs Shortest Paths (APSP) problem in undirected edge-weighted graphs. Given an $n$-vertex graph $G$ with non-negative edge lengths, that undergoes an online sequence of edge insertions and deletions, the…

Data Structures and Algorithms · Computer Science 2023-04-20 Julia Chuzhoy , Ruimin Zhang

The single-source shortest path problem is a classical problem in the research field of graph algorithm. In this paper, a new single-source shortest path algorithm for nonnegative weight graph is proposed. The algorithm can compress…

Data Structures and Algorithms · Computer Science 2015-10-16 Yunpeng Li

We investigate the complexity of several fundamental polynomial-time solvable problems on graphs and on matrices, when the given instance has low treewidth; in the case of matrices, we consider the treewidth of the graph formed by non-zero…

Data Structures and Algorithms · Computer Science 2015-11-05 Fedor V. Fomin , Daniel Lokshtanov , Michał Pilipczuk , Saket Saurabh , Marcin Wrochna

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

We investigate the problem of computing the top-$k$ simple shortest paths in weighted digraphs. While the single-pair variant -- finding the top-$k$ simple shortest paths between two specified vertices -- has been extensively studied over…

Data Structures and Algorithms · Computer Science 2025-10-01 Mattia D'Emidio , Gabriele Di Stefano

In the non-uniform sparsest cut problem, we are given a supply graph G and a demand graph D, both with the same set of nodes V. The goal is to find a cut of V that minimizes the ratio of the total capacity on the edges of G crossing the cut…

Data Structures and Algorithms · Computer Science 2021-11-12 Vincent Cohen-Addad , Tobias Mömke , Victor Verdugo