关于(并行)深度优先和宽度优先消弧搜索的一个注记
A Note on (Parallel) Depth- and Breadth-First Search by Arc Elimination
摘要:
本文概括了有向图中有序深度优先搜索(DFS)的算法观察,该算法立即导致了一系列非稀疏图处理器的线性加速并行算法。本文将该方法扩展到有序广度优先搜索(BFS)。利用$p$处理器,DFS和BFS算法都在共享存储器并行机器上以$O(m/p+n)$时间步长运行,从而允许并行读取位置,例如,一个CREW PRAM,并具有$p\leq m/n$的线性加速。这两种算法都需要$n$同步步骤。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。