Class EmptyClustering<V>

  • Type Parameters:
    V - the type of nodes in the graph
    All Implemented Interfaces:
    org.jgrapht.alg.interfaces.ClusteringAlgorithm<V>

    public class EmptyClustering<V>
    extends Object
    implements org.jgrapht.alg.interfaces.ClusteringAlgorithm<V>
    A trivial clustering algorithm that returns no clusters.
    • Constructor Detail

      • EmptyClustering

        public EmptyClustering()
    • Method Detail

      • builder

        public static <V,​E> EmptyClustering.Builder<V,​E> builder()
        Create a builder.
        Type Parameters:
        V - the type of nodes in the graph
        E - the type of edges in the graph
        Returns:
        a builder
      • getClustering

        public org.jgrapht.alg.interfaces.ClusteringAlgorithm.Clustering<V> getClustering()
        Specified by:
        getClustering in interface org.jgrapht.alg.interfaces.ClusteringAlgorithm<V>