It is shown that, in the PRIORITY CROW PRAM model and for the class of undirected embedded planar graphs, depth-first search (DFS) trees are no more difficult to construct than breadth-first search (BFS) trees. Specifically, suppose that time $T(n)\geqq \log n$ and $p(n)$ processors suffice to construct a planar embedding of a planar graph on n vertices and to compute a BFS tree of an undirected connected planar graph on $3n$ vertices. Then, given an undirected connected planar graph G on n vertices, a DFS tree of G can be computed in the stated model in $O(T(n))$ time with $p(n)$ processors. By using known results for the above problems, a DFS tree construction algorithm that runs in $O(\log n)$ time and uses $O(n^{3})$ processors is derived. The fastest previously known algorithm has time and processor bounds of $O({(\log n)}^2)$ and $O(n)$, respectively.
Read full abstract