helix.graph.algo
Class ComponentsFinder

java.lang.Object
  extended by helix.graph.algo.ComponentsFinder

public class ComponentsFinder
extends Object

a class to compute connected components. this class is obsolete, please consider using the CCVisitor class instead.

See Also:
CCVisitor provides a more general and extendable mechanism to collect CC.

Constructor Summary
ComponentsFinder(Graph g)
          constructor
 
Method Summary
 GSet<Vertex> component(Vertex v)
          return component containing vertex v
 Set<GSet<Vertex>> connectedComponents()
          return all connected components of graph
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentsFinder

public ComponentsFinder(Graph g)
constructor

Method Detail

component

public GSet<Vertex> component(Vertex v)
return component containing vertex v


connectedComponents

public Set<GSet<Vertex>> connectedComponents()
return all connected components of graph