Abstract

The problem of developing serial and parallel algorithms for finding connected components of an undirected graph G = ( V, E) has received considerable attention in the literature. If ¦V¦ = n and ¦E¦ = m, the well-known serial algorithm takes O( n + m) steps. The first parallel algorithm for this problem was reported by Arjomandi and Corneil and takes T k + L[log k] + 2n steps using k processors, where T is the complexity of optimal sequential breadth first search and L is bounded by the diameter of the graph. Using a CREW (concurrent read and exclusive write) model, Chandra proposed a parallel algorithm that takes O( log 2 n) steps using O( n log7 logn ) processors. Following this lead, a number of parallel algorithms requiring the same time bound but different processor bounds have been reported by many authors. In this paper we use a machine model that performs (componentwise) bit vector operations (such as conjunction, comparison, etc.) in parallel. Using this model we show that the connected components of a graph G can be found in O B ( n log n) steps serially, where O B refers to the number of bit vector operations. Thus, for dense graphs this serial algorithm performs better than the algorithm that is based on the depth first search. We also show that finding connected components on a CREW model takes O B ( log 2 n) steps using only n log n processors, and on a CRCW model, it takes O B (( log n)· ( log log n)) steps using only n processors. These algorithms have larger processor efficiency compared to all the known algorithms and are particularly attractive for the dense graphs when a small number of processors are available.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.