Package org.nlpub.watset.graph
Class EmptyClustering<V>
- java.lang.Object
-
- org.nlpub.watset.graph.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmptyClustering.Builder<V,E>Builder forEmptyClustering.
-
Constructor Summary
Constructors Constructor Description EmptyClustering()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <V,E>
EmptyClustering.Builder<V,E>builder()Create a builder.org.jgrapht.alg.interfaces.ClusteringAlgorithm.Clustering<V>getClustering()
-
-
-
Method Detail
-
builder
public static <V,E> EmptyClustering.Builder<V,E> builder()
Create a builder.- Type Parameters:
V- the type of nodes in the graphE- the type of edges in the graph- Returns:
- a builder
-
-