Class Watset<V,​E>

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

    @Deprecated
    public class Watset<V,​E>
    extends Object
    implements org.jgrapht.alg.interfaces.ClusteringAlgorithm<V>
    Deprecated.
    Replaced with SimplifiedWatset
    Watset is a local-global meta-algorithm for fuzzy graph clustering.

    Watset builds an intermediate undirected graph by inducing different senses of each node in the input graph.

    We recommend using SimplifiedWatset instead of this class.

    See Also:
    Ustalov et al. (COLI 45:3), SimplifiedWatset
    • Constructor Detail

      • Watset

        public Watset​(org.jgrapht.Graph<V,​E> graph,
                      ClusteringAlgorithmBuilder<V,​E,​?> local,
                      ClusteringAlgorithmBuilder<Sense<V>,​org.jgrapht.graph.DefaultWeightedEdge,​?> global,
                      ContextSimilarity<V> similarity)
        Deprecated.
        Create an instance of the Watset clustering algorithm.
        Parameters:
        graph - the graph
        local - the local clustering algorithm supplier
        global - the global clustering algorithm supplier
        similarity - the context similarity measure
    • Method Detail

      • builder

        public static <V,​E> Watset.Builder<V,​E> builder()
        Deprecated.
        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 WatsetClustering<V> getClustering()
        Deprecated.
        Specified by:
        getClustering in interface org.jgrapht.alg.interfaces.ClusteringAlgorithm<V>