pith. sign in

arxiv: 1305.1222 · v3 · pith:7U2G25KLnew · submitted 2013-05-06 · 💻 cs.DS

A Note on (Parallel) Depth- and Breadth-First Search by Arc Elimination

classification 💻 cs.DS
keywords noteparallelsearchalgorithmsbreadth-firstgraphslinearordered
0
0 comments X
read the original 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 $p$ processors, both DFS and BFS algorithms run in $O(m/p+n)$ time steps on a shared-memory parallel machine allowing concurrent reading of locations, e.g., a CREW PRAM, and have linear speed-up for $p\leq m/n$. Both algorithms need $n$ synchronization steps.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.