public interface ClusterBuilder<V>
| Modifier and Type | Method and Description |
|---|---|
Collection<Set<V>> |
cluster(SimilarityGraph<V> graph)
Cluster the vertices given a SimilarityGraph
|
Collection<Set<V>> |
cluster(SimilarityGraph<V> graph,
Collection<Set<V>> startingClusters)
Cluster the vertices in
graph using the startingClusters as a starting point. |
Collection<Set<V>> cluster(SimilarityGraph<V> graph)
graph - the graphCollection<Set<V>> cluster(SimilarityGraph<V> graph, Collection<Set<V>> startingClusters)
graph using the startingClusters as a starting point.
Cluster builders that where the starting clusters have no impact on clustering, such as the
threshold cluster builder, can delegate to the cluster(SimilarityGraph
graph - the graphstartingClusters - the clusters to start withCopyright © 2016. All Rights Reserved.