A linear systolic algorithm for the connected component problem

A linear systolic algorithm is proposed for the connected component problem. Given an undirected graph withn vertices,m edges, andp connected components, the proposed algorithm uses (n −p + 1) cells pipelined together to figure out, in (m + 3(n −p) + 2) systolic cycles, which component each vertex belongs to.