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