A Note on (Parallel) Depth- and Breadth-First Search by Arc Elimination
Data Structures and Algorithms
2013-11-13 v3
Abstract
This note recapitulates an algorithmic observation for ordered Depth-First Search (DFS) in directed graphs that immediately leads to a parallel algorithm with linear speed-up for a range of processors for non-sparse graphs. The note extends the approach to ordered Breadth-First Search (BFS). With processors, both DFS and BFS algorithms run in time steps on a shared-memory parallel machine allowing concurrent reading of locations, e.g., a CREW PRAM, and have linear speed-up for . Both algorithms need synchronization steps.
Cite
@article{arxiv.1305.1222,
title = {A Note on (Parallel) Depth- and Breadth-First Search by Arc Elimination},
author = {Jesper Larsson Träff},
journal= {arXiv preprint arXiv:1305.1222},
year = {2013}
}