English
Related papers

Related papers: Improving The Floyd-Warshall All Pairs Shortest Pa…

200 papers

We consider the problem of computing all-pairs shortest paths in a directed graph with real weights assigned to vertices. For an $n\times n$ 0-1 matrix $C,$ let $K_{C}$ be the complete weighted graph on the rows of $C$ where the weight of…

Data Structures and Algorithms · Computer Science 2014-01-28 Andrzej Lingas , Dzmitry Sledneu

We study the problem of releasing the weights of all-pair shortest paths in a weighted undirected graph with differential privacy (DP). In this setting, the underlying graph is fixed and two graphs are neighbors if their edge weights differ…

Data Structures and Algorithms · Computer Science 2022-03-31 Badih Ghazi , Ravi Kumar , Pasin Manurangsi , Jelani Nelson

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

We describe a variant of the Bellman-Ford algorithm for single-source shortest paths in graphs with negative edges but no negative cycles that randomly permutes the vertices and uses this randomized order to process the vertices within each…

Data Structures and Algorithms · Computer Science 2011-11-24 Michael J. Bannister , David Eppstein

Dijkstra's algorithm is the standard method for computing shortest paths on arbitrary graphs. However, it is slow for large graphs, taking at least linear time. It has been long known that for real world road networks, creating a hierarchy…

Data Structures and Algorithms · Computer Science 2023-12-08 Sébastien Collette , John Iacono

We provide new tradeoffs between approximation and running time for the decremental all-pairs shortest paths (APSP) problem. For undirected graphs with $m$ edges and $n$ nodes undergoing edge deletions, we provide four new approximate…

Data Structures and Algorithms · Computer Science 2024-04-30 Michal Dory , Sebastian Forster , Yasamin Nazari , Tijn de Vos

In this paper we give a single-source shortest-path algorithm that breaks, after over 65 years, the $O(n \cdot m)$ bound for the running time of the Bellman-Ford-Moore algorithm, where $n$ is the number of vertices and $m$ is the number of…

Data Structures and Algorithms · Computer Science 2024-11-01 Amr Elmasry

Finding a shortest path in a graph is one of the most classic problems in algorithmic and graph theory. While we dispose of quite efficient algorithms for this ordinary problem (like the Dijkstra or Bellman-Ford algorithms), some slight…

Data Structures and Algorithms · Computer Science 2024-08-05 Abderrahim Bendahi , Adrien Fradin

Given an arbitrary, non-negatively weighted, directed graph $G=(V,E)$ we present an algorithm that computes all pairs shortest paths in time $\mathcal{O}(m^* n + m \lg n + nT_\psi(m^*, n))$, where $m^*$ is the number of different edges…

Data Structures and Algorithms · Computer Science 2013-01-01 Andrej Brodnik , Marko Grgurovič

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

In this paper, we revisit the classic approximate All-Pairs Shortest Paths (APSP) problem in undirected graphs. For unweighted graphs, we provide an algorithm for $2$-approximate APSP in $\tilde O(n^{2.5-r}+n^{\omega(r)})$ time, for any…

Data Structures and Algorithms · Computer Science 2023-10-31 Michal Dory , Sebastian Forster , Yael Kirkpatrick , Yasamin Nazari , Virginia Vassilevska Williams , Tijn de Vos

The All-Pairs Shortest Paths (APSP) problem is one of the fundamental problems in theoretical computer science. It asks to compute the distance matrix of a given $n$-vertex graph. We revisit the classical problem of maintaining the distance…

Data Structures and Algorithms · Computer Science 2024-08-28 Xiao Mao

The shortest path problem is among the most fundamental combinatorial optimization problems to answer reachability queries. It is hard to deter-mine which vertices or edges are visited during shortest path traversals. In this paper, we…

Social and Information Networks · Computer Science 2014-12-30 Waqas Nawaz , Kifayat Ullah Khan , Young-Koo Lee

Identifying shortest paths between nodes in a network is a common graph analysis problem that is important for many applications involving routing of resources. An adversary that can manipulate the graph structure could alter traffic…

Social and Information Networks · Computer Science 2022-11-22 Benjamin A. Miller , Zohair Shafi , Wheeler Ruml , Yevgeniy Vorobeychik , Tina Eliassi-Rad , Scott Alfeld

We study the 2-Disjoint Shortest Paths (2-DSP) problem: given a directed weighted graph and two terminal pairs $(s_1,t_1)$ and $(s_2,t_2)$, decide whether there exist vertex-disjoint shortest paths between each pair. Building on recent…

Data Structures and Algorithms · Computer Science 2025-10-09 Keerti Choudhary , Amit Kumar , Lakshay Saggi

The all pairs shortest path problem (APSP) is one of the foundational problems in computer science. For weighted dense graphs on $n$ vertices, no truly sub-cubic algorithms exist to compute APSP exactly even for undirected graphs. This is…

Data Structures and Algorithms · Computer Science 2023-09-26 Barna Saha , Christopher Ye

We present a new approach called GR (Graph Reduction) algorithm for searching loop-less k-shortest paths (1st to k-th shortest paths) in a graph based on graph reduction. Let a source vertex and a target vertex of k-shortest paths be v_s…

Data Structures and Algorithms · Computer Science 2019-08-20 Yasuo Yamane , Hironobu Kitajima

We propose an exact algorithm for solving the longest simple path problem between two given vertices in undirected weighted graphs. By using graph partitioning and dynamic programming, we obtain an algorithm that is significantly faster…

Data Structures and Algorithms · Computer Science 2019-05-10 Kai Fieger , Tomas Balyo , Christian Schulz , Dominik Schreiber

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

This paper considers a natural fault-tolerant shortest paths problem: for some constant integer $f$, given a directed weighted graph with no negative cycles and two fixed vertices $s$ and $t$, compute (either explicitly or implicitly) for…

Data Structures and Algorithms · Computer Science 2022-09-16 Virginia Vassilevska Williams , Eyob Woldeghebriel , Yinzhan Xu