public abstract class IncrementalCPMClusteringAlgorithm extends CPMClusteringAlgorithm implements IncrementalClusteringAlgorithm
DEFAULT_RESOLUTION, resolution
Constructor and Description |
---|
IncrementalCPMClusteringAlgorithm()
Constructs an incremental CPM clustering algorithm.
|
IncrementalCPMClusteringAlgorithm(double resolution)
Constructs an incremental CPM clustering algorithm with a specified
resolution parameter.
|
Modifier and Type | Method and Description |
---|---|
Clustering |
findClustering(Network network)
Finds a clustering of the nodes in a network.
|
calcQuality, clone, getResolution, removeCluster, removeSmallClustersBasedOnNNodes, removeSmallClustersBasedOnWeight, setResolution
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
improveClustering
public IncrementalCPMClusteringAlgorithm()
public IncrementalCPMClusteringAlgorithm(double resolution)
resolution
- Resolution parameterpublic Clustering findClustering(Network network)
The clustering is obtained by calling IncrementalClusteringAlgorithm.improveClustering(Network
network, Clustering clustering)
and by providing a singleton clustering
as input to this method.
findClustering
in interface ClusteringAlgorithm
network
- Network