public class ConnectedComponents<V>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <Y> java.util.Set<java.util.Set<Y>> |
compute(Graph<Y> G)
Returns the connected components of G.
|
public static <Y> java.util.Set<java.util.Set<Y>> compute(Graph<Y> G)
G
-