An optimal randomized parallel algorithm for finding connected components in a graph

  • Authors:
  • Hillel Gazit

  • Affiliations:
  • -

  • Venue:
  • SFCS '86 Proceedings of the 27th Annual Symposium on Foundations of Computer Science
  • Year:
  • 1986

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a parallel randomized algorithm for finding the connected components of an undirected graph. Our algorithm takes T = O(log (n)) time and p = O(m+n/(log(n) processors, where m = number of edges and n = number of vertices. This algorithm improves the results of Cole and Vishkin1, which use O(log (n)ċlog (log (n))ċlog (log (log (n)))) time. Our algorithm is Optimal in the sense that the product PċT is a linear function of the input size. The algorithm requires O(m + n) space which is the input size, so it is Optimal in space as well.