Interface ClusteringAlgorithm.Clustering<V>

  • Type Parameters:
    V - the graph vertex type
    All Superinterfaces:
    java.lang.Iterable<java.util.Set<V>>
    All Known Implementing Classes:
    ClusteringAlgorithm.ClusteringImpl
    Enclosing interface:
    ClusteringAlgorithm<V>

    public static interface ClusteringAlgorithm.Clustering<V>
    extends java.lang.Iterable<java.util.Set<V>>
    A clustering. The clusters are integers starting from $0$.
    • Method Detail

      • getNumberClusters

        int getNumberClusters()
        Get the number of clusters.
        Returns:
        the number of clusters
      • getClusters

        java.util.List<java.util.Set<V>> getClusters()
        Get the clusters.
        Returns:
        a list of clusters