Class AlgorithmProvider<V,​E>

  • Type Parameters:
    V - the type of nodes in the graph
    E - the type of edges in the graph
    All Implemented Interfaces:
    Function<org.jgrapht.Graph<V,​E>,​Clustering<V>>

    public class AlgorithmProvider<V,​E>
    extends Object
    implements Function<org.jgrapht.Graph<V,​E>,​Clustering<V>>
    A utility class that creates instances of the graph clustering algorithms.
    • Constructor Detail

      • AlgorithmProvider

        public AlgorithmProvider​(String algorithm)
        Create an instance of this utility class with empty parameter map.
        Parameters:
        algorithm - the algorithm identifier
      • AlgorithmProvider

        public AlgorithmProvider​(String algorithm,
                                 Map<String,​String> params)
        Create an instance of this utility class.
        Parameters:
        algorithm - the algorithm identifier
        params - the parameter map for the algorithm