Package org.nlpub.watset.graph
Class Watset<V,E>
- java.lang.Object
-
- org.nlpub.watset.graph.Watset<V,E>
-
- Type Parameters:
V- the type of nodes in the graphE- 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 withSimplifiedWatsetWatset 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
SimplifiedWatsetinstead of this class.- See Also:
- Ustalov et al. (COLI 45:3),
SimplifiedWatset
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatset.Builder<V,E>Deprecated.Builder forWatset.
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <V,E>
Watset.Builder<V,E>builder()Deprecated.Create a builder.WatsetClustering<V>getClustering()Deprecated.
-
-
-
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 graphlocal- the local clustering algorithm supplierglobal- the global clustering algorithm suppliersimilarity- 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 graphE- the type of edges in the graph- Returns:
- a builder
-
getClustering
public WatsetClustering<V> getClustering()
Deprecated.- Specified by:
getClusteringin interfaceorg.jgrapht.alg.interfaces.ClusteringAlgorithm<V>
-
-