Package org.nlpub.watset.graph
Interface Clustering<V>
-
- Type Parameters:
V- the type of nodes in the graph
- All Known Implementing Classes:
ChineseWhispers,ComponentsClustering,EmptyClustering,MarkovClustering,MarkovClusteringBinaryRunner,MaxMax,SimplifiedWatset,SingletonClustering,TogetherClustering,Watset
public interface Clustering<V>An instance of Clustering returns clusters after running the underlying algorithm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfit()Run the algorithm to induce the parameters of the clusters.Collection<Collection<V>>getClusters()Return a collection of clusters, each cluster is a collection of objects.
-
-
-
Method Detail
-
fit
void fit()
Run the algorithm to induce the parameters of the clusters.
-
getClusters
Collection<Collection<V>> getClusters()
Return a collection of clusters, each cluster is a collection of objects. Usually this method is called after thefit()method.- Returns:
- clusters
-
-