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

preprint2013arXivOpen access

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 pp processors, both DFS and BFS algorithms run in O(m/p+n)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≤m/np\leq m/n. Both algorithms need nn synchronization steps.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.