English
Related papers

Related papers: A Note on (Parallel) Depth- and Breadth-First Sear…

200 papers

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

Depth first search (DFS) tree is a fundamental data structure for solving various graph problems. The classical DFS algorithm requires $O(m+n)$ time for a graph having $n$ vertices and $m$ edges. In the streaming model, an algorithm is…

Data Structures and Algorithms · Computer Science 2019-01-14 Shahbaz Khan , Shashank K. Mehta

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č

Enumerating consistent global states of a computation is a fundamental problem in parallel computing with applications to debug- ging, testing and runtime verification of parallel programs. Breadth-first search (BFS) enumeration is…

Distributed, Parallel, and Cluster Computing · Computer Science 2017-07-26 Himanshu Chauhan , Vijay Garg

Depth First Search (DFS) tree is a fundamental data structure for solving graph problems. The DFS tree of a graph $G$ with $n$ vertices and $m$ edges can be built in $O(m+n)$ time. Till date, only a few algorithms have been designed for…

Data Structures and Algorithms · Computer Science 2017-05-09 Surender Baswana , Ayush Goel , Shahbaz Khan

To find a shortest path between two nodes $s_0$ and $s_1$ in a given graph, a classical approach is to start a Breadth-First Search (BFS) from $s_0$ and run it until the search discovers $s_1$. Alternatively, one can start two Breadth-First…

Social and Information Networks · Computer Science 2024-10-30 Sacha Cerf , Benjamin Dayan , Umberto De Ambroggio , Marc Kaufmann , Johannes Lengler , Ulysse Schaller

Breadth First Search (BFS) is a building block for graph algorithms and has recently been used for large scale analysis of information in a variety of applications including social networks, graph databases and web searching. Due to its…

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

The BFS algorithm is a basic graph data processing algorithm and many other graph data processing algorithms have similar architectural features with BFS algorithm and can be built on the basis of BFS algorithm model. We analyze the…

Distributed, Parallel, and Cluster Computing · Computer Science 2024-10-30 Chenglong Zhang

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

While it is well-known and acknowledged that the performance of graph algorithms is heavily dependent on the input data, there has been surprisingly little research to quantify and predict the impact the graph structure has on performance.…

Distributed, Parallel, and Cluster Computing · Computer Science 2017-08-04 Merijn Verstraaten , Ana Lucia Varbanescu , Cees de Laat

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

For parallel breadth first search (BFS) algorithm on large-scale distributed memory systems, communication often costs significantly more than arithmetic and limits the scalability of the algorithm. In this paper we sufficiently reduce the…

Distributed, Parallel, and Cluster Computing · Computer Science 2012-08-29 Huiwei Lv , Guangming Tan , Mingyu Chen , Ninghui Sun

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

We present an algorithm for a fault tolerant Depth First Search (DFS) Tree in an undirected graph. This algorithm is drastically simpler than the current state-of-the-art algorithms for this problem, uses optimal space and optimal…

Data Structures and Algorithms · Computer Science 2019-03-28 Surender Baswana , Shiv Kumar Gupta , Ayush Tulsyan

We study the problem of maintaining a breadth-first spanning tree and the induced BFS ordering in a directed graph under edge updates. While semi-dynamic algorithms are known, maintaining the spanning tree, level information, and numbering…

Data Structures and Algorithms · Computer Science 2026-04-15 Gregory Morse , Tamás Kozsik

In this paper we present two versions of a parallel finger structure FS on p processors that supports searches, insertions and deletions, and has a finger at each end. This is to our knowledge the first implementation of a parallel search…

Data Structures and Algorithms · Computer Science 2019-10-11 Seth Gilbert , Wei Quan Lim

Recently, two new parallel algorithms for on-the-fly model checking of LTL properties were presented at the same conference: Automated Technology for Verification and Analysis, 2011. Both approaches extend Swarmed NDFS, which runs several…

Logic in Computer Science · Computer Science 2011-11-03 Alfons Laarman , Jaco van de Pol

We design a space-efficient algorithm for performing depth-first search traversal(DFS) of a graph in $O(m+n\log^* n)$ time using $O(n)$ bits of space. While a normal DFS algorithm results in a DFS-tree (in case the graph is connected), our…

Data Structures and Algorithms · Computer Science 2018-10-18 Jayesh Choudhari , Manoj Gupta , Shivdutt Sharma

Graph algorithms enormously contribute to the domains such as blockchains, social networks, biological networks, telecommunication networks, and several others. The ever-increasing demand of data-volume, as well as speed of such…

Distributed, Parallel, and Cluster Computing · Computer Science 2020-03-04 Bapi Chatterjee , Sathya Peri , Muktikanta Sa

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