English
Related papers

Related papers: Randomized Speedup of the Bellman-Ford Algorithm

200 papers

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

The Bellman-Ford algorithm for single-source shortest paths repeatedly updates tentative distances in an operation called relaxing an edge. In several important applications a non-adaptive (oblivious) implementation is preferred, which…

Data Structures and Algorithms · Computer Science 2025-02-04 Jialu Hu , László Kozma

This paper is about the problem of finding a shortest $s$-$t$ path using at most $h$ edges in edge-weighted graphs. The Bellman--Ford algorithm solves this problem in $O(hm)$ time, where $m$ is the number of edges. We show that this running…

Data Structures and Algorithms · Computer Science 2023-02-15 Tomasz Kociumaka , Adam Polak

A classical algorithm by Bellman and Ford from the 1950's computes shortest paths in weighted graphs on $n$ vertices and $m$ edges with possibly negative weights in $O(mn)$ time. Indeed, this algorithm is taught regularly in undergraduate…

Data Structures and Algorithms · Computer Science 2025-04-11 Satish Rao

This work analyzes convergence times and robustness bounds for asynchronous distributed shortest-path computation. We focus on the Adaptive Bellman--Ford algorithm, a self-stabilizing method in which each agent updates its shortest-path…

Optimization and Control · Mathematics 2025-07-11 Jared Miller , Mattia Bianchi , Florian Dörfler

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

Data Structures and Algorithms · Computer Science 2019-06-19 Amr Elmasry

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

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

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

We show an improved parallel algorithm for decomposing an undirected unweighted graph into small diameter pieces with a small fraction of the edges in between. These decompositions form critical subroutines in a number of graph algorithms.…

Data Structures and Algorithms · Computer Science 2013-07-16 Gary L. Miller , Richard Peng , Shen Chen Xu

Utilizing graph algorithms is a common activity in computer science. Algorithms that perform computations on large graphs are not always efficient. This work investigates the Single-Source Shortest Path (SSSP) problem, which is considered…

Data Structures and Algorithms · Computer Science 2021-06-25 Ahmed Shokry

We present a one-shot method for compressing large labeled graphs called Random Edge Coding. When paired with a parameter-free model based on P\'olya's Urn, the worst-case computational and memory complexities scale quasi-linearly and…

Machine Learning · Computer Science 2023-05-18 Daniel Severo , James Townsend , Ashish Khisti , Alireza Makhzani

Let G be a directed graph with n vertices and non-negative weights in its directed edges, embedded on a surface of genus g, and let f be an arbitrary face of G. We describe a randomized algorithm to preprocess the graph in O(gn log n) time…

Data Structures and Algorithms · Computer Science 2013-05-13 Sergio Cabello , Erin Wolf Chambers , Jeff Erickson

The semi-random graph process is an adaptive random graph process in which an online algorithm is initially presented an empty graph on $n$ vertices. In each round, a vertex $u$ is presented to the algorithm independently and uniformly at…

Combinatorics · Mathematics 2024-12-24 Alan Frieze , Pu Gao , Calum MacRury , Paweł Prałat , Gregory Sorkin

The Floyd-Warshall algorithm is the most popular algorithm for determining the shortest paths between all pairs in a graph. It is very a simple and an elegant algorithm. However, if the graph does not contain any negative weighted edge,…

Data Structures and Algorithms · Computer Science 2021-09-07 Ismail H. Toroslu

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

Consider a finite directed graph without cycles in which the arrows are weighted. We present an algorithm for the computation of a new distance, called path-length-weighted distance, which has proven useful for graph analysis in the context…

Data Structures and Algorithms · Computer Science 2024-11-05 R. Arnau , J. M. Calabuig , L. M. García Raffi , E. A. Sánchez Pérez , S. Sanjuan

Random walks on graphs can be slow. To speed them up, imagine that at each step instead of choosing the neighbor at random, there is a small probability $\varepsilon>0$ that we can choose it. We show that in this case, at least for graphs…

Probability · Mathematics 2026-05-19 Boris Bukh , Quentin Dubroff

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

An algorithm observes the trajectories of random walks over an unknown graph $G$, starting from the same vertex $x$, as well as the degrees along the trajectories. For all finite connected graphs, one can estimate the number of edges $m$ up…

Statistics Theory · Mathematics 2018-08-20 Anna Ben-Hamou , Roberto I. Oliveira , Yuval Peres
‹ Prev 1 2 3 10 Next ›