public class ComponentsAlgorithm extends java.lang.Object implements ClusteringAlgorithm
Constructor and Description |
---|
ComponentsAlgorithm()
Constructs a components algorithm.
|
Modifier and Type | Method and Description |
---|---|
Clustering |
findClustering(Network network)
Finds the connected components of a network.
|
public ComponentsAlgorithm()
public Clustering findClustering(Network network)
findClustering
in interface ClusteringAlgorithm
network
- Network