Interface ClusteringBuilder<V,​E,​C extends Clustering<V>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      C build​(org.jgrapht.Graph<V,​E> graph)
      Construct an instance of the clustering algorithm with the parameters specified in the builder.
      Function<org.jgrapht.Graph<V,​E>,​Clustering<V>> provider()
      Construct a factory function that sets up the algorithm for the given graph.
    • Method Detail

      • build

        C build​(org.jgrapht.Graph<V,​E> graph)
        Construct an instance of the clustering algorithm with the parameters specified in the builder.
        Parameters:
        graph - the graph
        Returns:
        a fully-configured clustering algorithm
      • provider

        Function<org.jgrapht.Graph<V,​E>,​Clustering<V>> provider()
        Construct a factory function that sets up the algorithm for the given graph.
        Returns:
        a factory function that sets up the algorithm for the given graph