English
Related papers

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

200 papers

One of the most basic graph problems, All-Pairs Shortest Paths (APSP) is known to be solvable in $n^{3-o(1)}$ time, and it is widely open whether it has an $O(n^{3-\epsilon})$ time algorithm for $\epsilon > 0$. To better understand APSP,…

Data Structures and Algorithms · Computer Science 2021-05-07 Yuzhou Gu , Adam Polak , Virginia Vassilevska Williams , Yinzhan Xu

This paper details a new algorithm to solve the shortest path problem in valued graphs. Its complexity is $O(D \log v)$ where $D$ is the graph diameter and $v$ its number of vertices. This complexity has to be compared to the one of the…

Data Structures and Algorithms · Computer Science 2007-05-23 Michel Koskas

Let $S$ be a set of $n$ points in a polygon $P$ with $m$ vertices. The geodesic unit-disk graph $G(S)$ induced by $S$ has vertex set $S$ and contains an edge between two vertices whenever their geodesic distance in $P$ is at most one. In…

Computational Geometry · Computer Science 2026-03-27 Bruce W. Brewer , Haitao Wang

In this paper, we study the online shortest path problem in directed acyclic graphs (DAGs) under bandit feedback against an adaptive adversary. Given a DAG $G = (V, E)$ with a source node $v_{\mathsf{s}}$ and a sink node $v_{\mathsf{t}}$,…

Machine Learning · Computer Science 2025-04-04 Arnab Maiti , Zhiyuan Fan , Kevin Jamieson , Lillian J. Ratliff , Gabriele Farina

We present a very simple and intuitive algorithm to find balanced sparse cuts in a graph via shortest-paths. Our algorithm combines a new multiplicative-weights framework for solving unit-weight multi-commodity flows with standard ball…

Data Structures and Algorithms · Computer Science 2022-09-20 Li Chen , Rasmus Kyng , Maximilian Probst Gutenberg , Sushant Sachdeva

We consider single-source shortest path algorithms that perform a sequence of relaxation steps whose ordering depends only on the input graph structure and not on its weights or the results of prior steps. Each step examines one edge of the…

Data Structures and Algorithms · Computer Science 2023-05-17 David Eppstein

We present a new deterministic algorithm for distributed weighted all pairs shortest paths (APSP) in both undirected and directed graphs. Our algorithm runs in $\tilde{O}(n^{4/3})$ rounds in the Congest models on graphs with arbitrary edge…

Data Structures and Algorithms · Computer Science 2020-05-20 Udit Agarwal , Vijaya Ramachandran

We study the reverse shortest path problem on disk graphs in the plane. In this problem we consider the proximity graph of a set of $n$ disks in the plane of arbitrary radii: In this graph two disks are connected if the distance between…

Computational Geometry · Computer Science 2023-07-28 Haim Kaplan , Matthew J. Katz , Rachel Saban , Micha Sharir

Let G=(V,E) be a graph with f:V\to Z_+ a function assigning degree bounds to vertices. We present the first efficient algebraic algorithm to find an f-factor. The time is \tilde{O}(f(V)^{\omega}). More generally for graphs with integral…

Data Structures and Algorithms · Computer Science 2013-04-26 Harold N. Gabow , Piotr Sankowski

Let $V$ be a set of $n$ points in the plane. The unit-disk graph $G = (V, E)$ has vertex set $V$ and an edge $e_{uv} \in E$ between vertices $u, v \in V$ if the Euclidean distance between $u$ and $v$ is at most 1. The weight of each edge…

Computational Geometry · Computer Science 2024-07-04 Bruce W. Brewer , Haitao Wang

The problem of orienting the edges of an undirected graph such that the resulting digraph is acyclic and has a single source s and a single sink t has a long tradition in graph theory and is central to many graph drawing algorithms. Such an…

Data Structures and Algorithms · Computer Science 2022-08-25 Carla Binucci , Walter Didimo , Maurizio Patrignani

Python implementation of selected weighted graph algorithms is presented. The minimal graph interface is defined together with several classes implementing this interface. Graph nodes can be any hashable Python objects. Directed edges are…

Data Structures and Algorithms · Computer Science 2016-01-11 A. Kapanowski , Ł. Gałuszka

The single-source shortest path problem (SSSP) with nonnegative edge weights is a notoriously difficult problem to solve efficiently in parallel---it is one of the graph problems said to suffer from the transitive-closure bottleneck. In…

Data Structures and Algorithms · Computer Science 2016-03-15 Guy E. Blelloch , Yan Gu , Yihan Sun , Kanat Tangwongsan

We continue the study of distance sensitivity oracles (DSOs). Given a directed graph $G$ with $n$ vertices and edge weights in $\{1, 2, \dots, M\}$, we want to build a data structure such that given any source vertex $u$, any target vertex…

Data Structures and Algorithms · Computer Science 2021-08-04 Yong Gu , Hanlin Ren

An \emph{$\alpha$-approximate vertex fault-tolerant distance sensitivity oracle} (\emph{$\alpha$-VSDO}) for a weighted input graph $G=(V, E, w)$ and a source vertex $s \in V$ is the data structure answering an $\alpha$-approximate distance…

Data Structures and Algorithms · Computer Science 2024-07-03 Kaito Harada , Naoki Kitamura , Taisuke Izumi , Toshimitsu Masuzawa

In a directed graph $G=(V,E)$ with a capacity on every edge, a \emph{bottleneck path} (or \emph{widest path}) between two vertices is a path maximizing the minimum capacity of edges in the path. For the single-source all-destination version…

Data Structures and Algorithms · Computer Science 2018-09-03 Ran Duan , Kaifeng Lyu , Hongxun Wu , Yuanhang Xie

We present a simplified algorithm for solving the Negative-Weight Single-Source Shortest Paths (SSSP) problem, focusing on enhancing clarity and practicality over prior methods. Our algorithm uses graph diameter as a recursive parameter,…

Data Structures and Algorithms · Computer Science 2024-12-02 Jason Li , Connor Mowry

The $\mathsf{HYBRID}$ model, introduced in [Augustine et al., SODA '20], provides a theoretical foundation for networks that allow multiple communication modes. The model follows the principles of synchronous message passing, whereas nodes…

Distributed, Parallel, and Cluster Computing · Computer Science 2020-10-05 Fabian Kuhn , Philipp Schneider

The problem of identifying the k-shortest paths KSPs for short in a dynamic road network is essential to many location-based services. Road networks are dynamic in the sense that the weights of the edges in the corresponding graph…

Databases · Computer Science 2023-12-21 Ziqiang Yu , Xiaohui Yu , Nick Koudas , Yueting Chen , Yang Liu

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