Module org.jgrapht.core
Package org.jgrapht.alg.interfaces
Interface ClusteringAlgorithm.Clustering<V>
-
- Type Parameters:
V
- the graph vertex type
- All Known Implementing Classes:
ClusteringAlgorithm.ClusteringImpl
- Enclosing interface:
- ClusteringAlgorithm<V>
public static interface ClusteringAlgorithm.Clustering<V> extends Iterable<Set<V>>
A clustering. The clusters are integers starting from $0$.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Set<V>>
getClusters()
Get the clusters.int
getNumberClusters()
Get the number of clusters.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-