English
Related papers

Related papers: Balanced Bidirectional Breadth-First Search on Sca…

200 papers

Graphs and their traversal is becoming significant as it is applicable to various areas of mathematics, science and technology. Various problems in fields as varied as biochemistry (genomics), electrical engineering (communication…

Distributed, Parallel, and Cluster Computing · Computer Science 2020-03-11 Anuj Sharma , Syed Mohammed Arshad Zaidi

Although Dijkstra's algorithm has near-optimal time complexity for the problem of finding a shortest path from a given vertex $s$ to a given vertex $t$, in practice other algorithms are often superior on huge graphs. A prominent example is…

Data Structures and Algorithms · Computer Science 2025-06-16 Bernhard Haeupler , Richard Hladík , Vaclav Rozhon , Robert E. Tarjan , Jakub Tětek

We study {\em breadth-first search (BFS)} spanning trees, and address the problem of designing a sparse {\em fault-tolerant} BFS structure, or {\em FT-BFS } for short, resilient to the failure of up to two edges in the given undirected…

Data Structures and Algorithms · Computer Science 2015-05-05 Merav Parter

Graph searching is one of the simplest and most widely used tools in graph algorithms. Every graph search method is defined using some particular selection rule, and the analysis of the corresponding vertex orderings can aid greatly in…

Discrete Mathematics · Computer Science 2021-09-07 Matjaž Krnc , Nevena Pivač

The Breadth-First Search (BFS) algorithm is an important building block for graph analysis of large datasets. The BFS parallelisation has been shown to be challenging because of its inherent characteristics, including irregular memory…

Distributed, Parallel, and Cluster Computing · Computer Science 2017-04-21 Mireya Paredes , Graham Riley , Mikel Lujan

The purpose of this report is to explain how the textbook breadth-first search algorithm (BFS) can be modified in order to also create a compact representation of all shortest paths connecting a single source node to all the nodes reachable…

Databases · Computer Science 2023-02-03 Domagoj Vrgoč

It is well-known since the seventies of last century that Depth First Search (DFS) can be used to compute strongly connected components [RE. Tarjan. SIAM Journal on Computing, 1972] and Breadth First Search (BFS) can be used to compute…

Data Structures and Algorithms · Computer Science 2026-05-05 Binh-Minh Bui-Xuan , Michel Habib , Fabien de Montgolfier , Renaud Torfs

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

Consider a search from the root of an ordered tree with $n$ edges to some target node at a fixed distance $\ell$ from that root. We compare the average time complexity of the breadth-first search (BFS) and depth-first search (DFS)…

Data Structures and Algorithms · Computer Science 2024-04-09 Stoyan Dimitrov , Martin Minchev , Yan Zhuang

We provide the first non-trivial result on dynamic breadth-first search (BFS) in external-memory: For general sparse undirected graphs of initially $n$ nodes and O(n) edges and monotone update sequences of either $\Theta(n)$ edge insertions…

Data Structures and Algorithms · Computer Science 2008-02-21 Ulrich Meyer

Large scale-free graphs are famously difficult to process efficiently: the skewed vertex degree distribution makes it difficult to obtain balanced partitioning. Our research instead aims to turn this into an advantage by partitioning the…

Distributed, Parallel, and Cluster Computing · Computer Science 2015-10-05 Scott Sallinen , Abdullah Gharaibeh , Matei Ripeanu

Breadth First Search (BFS) and other graph traversal techniques are widely used for measuring large unknown graphs, such as online social networks. It has been empirically observed that an incomplete BFS is biased toward high degree nodes.…

Discrete Mathematics · Computer Science 2011-02-23 Maciej Kurant , Athina Markopoulou , Patrick Thiran

We provide the first approximation quality guarantees for the Cuthull-McKee heuristic for reordering symmetric matrices to have low bandwidth, and we provide an algorithm for reconstructing bounded-bandwidth graphs from distance oracles…

Data Structures and Algorithms · Computer Science 2025-07-10 David Eppstein , Michael T. Goodrich , Songyu Liu

Search is a central problem in artificial intelligence, and breadth-first search (BFS) and depth-first search (DFS) are the two most fundamental ways to search. In this paper we derive estimates for average BFS and DFS runtime. The average…

Artificial Intelligence · Computer Science 2018-04-13 Tom Everitt , Marcus Hutter

Pathfinding makes up an important sub-component of a broad range of complex tasks in AI, such as robot path planning, transport routing, and game playing. While classical algorithms can efficiently compute shortest paths, neural networks…

Machine Learning · Computer Science 2023-01-18 Sam Earle , Ozlem Yildiz , Julian Togelius , Chinmay Hegde

We study the problem of maintaining a breadth-first spanning tree (BFS tree) in partially dynamic distributed networks modeling a sequence of either failures or additions of communication links (but not both). We present deterministic…

Data Structures and Algorithms · Computer Science 2018-03-02 Monika Henzinger , Sebastian Krinninger , Danupon Nanongkai

We propose a new exact method for shortest-path distance queries on large-scale networks. Our method precomputes distance labels for vertices by performing a breadth-first search from every vertex. Seemingly too obvious and too inefficient…

Data Structures and Algorithms · Computer Science 2013-04-18 Takuya Akiba , Yoichi Iwata , Yuichi Yoshida

In the big data era, graph computing is widely used to exploit the hidden value in real-world graphs in various scenarios such as social networks, knowledge graphs, web searching, and recommendation systems. However, the random memory…

Data Structures and Algorithms · Computer Science 2024-07-23 Zite Jiang , Tao Liu , Shuai Zhang , Zhen Guan , Mengting Yuan , Haihang You

It is shown that a breadth-first search in a directed or undirected graph with $n$ vertices and $m$ edges can be carried out in $O(n+m)$ time with $n\log_2 3+O((\log n)^2)$ bits of working memory.

Data Structures and Algorithms · Computer Science 2019-02-18 Torben Hagerup

Computing shortest path distances between nodes lies at the heart of many graph algorithms and applications. Traditional exact methods such as breadth-first-search (BFS) do not scale up to contemporary, rapidly evolving today's massive…

Machine Learning · Computer Science 2020-02-14 Fatemeh Salehi Rizi , Joerg Schloetterer , Michael Granitzer