Package org.nlpub.watset.util
Enum ClusteringAlgorithmProvider.ProvidingAlgorithm
- java.lang.Object
-
- java.lang.Enum<ClusteringAlgorithmProvider.ProvidingAlgorithm>
-
- org.nlpub.watset.util.ClusteringAlgorithmProvider.ProvidingAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<ClusteringAlgorithmProvider.ProvidingAlgorithm>
- Enclosing class:
- ClusteringAlgorithmProvider<V,E>
public static enum ClusteringAlgorithmProvider.ProvidingAlgorithm extends Enum<ClusteringAlgorithmProvider.ProvidingAlgorithm>
Clustering algorithms thatClusteringAlgorithmProviderknows how to provide.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHINESE_WHISPERSLabel forChineseWhispers.COMPONENTSLabel forComponentsClustering.EMPTYLabel forEmptyClustering.GIRVAN_NEWMANLabel forGirvanNewmanClustering.K_SPANNING_TREELabel forKSpanningTreeClustering.MARKOV_CLUSTERINGLabel forMarkovClustering.MARKOV_CLUSTERING_EXTERNALLabel forMarkovClusteringExternal.MAXMAXLabel forMaxMax.SINGLETONLabel forSingletonClustering.SPECTRALLabel forSpectralClustering.TOGETHERLabel forTogetherClustering.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClusteringAlgorithmProvider.ProvidingAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static ClusteringAlgorithmProvider.ProvidingAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm EMPTY
Label forEmptyClustering.
-
TOGETHER
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm TOGETHER
Label forTogetherClustering.
-
SINGLETON
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm SINGLETON
Label forSingletonClustering.
-
COMPONENTS
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm COMPONENTS
Label forComponentsClustering.
-
K_SPANNING_TREE
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm K_SPANNING_TREE
Label forKSpanningTreeClustering.
-
GIRVAN_NEWMAN
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm GIRVAN_NEWMAN
Label forGirvanNewmanClustering.
-
SPECTRAL
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm SPECTRAL
Label forSpectralClustering.
-
CHINESE_WHISPERS
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm CHINESE_WHISPERS
Label forChineseWhispers.
-
MARKOV_CLUSTERING
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm MARKOV_CLUSTERING
Label forMarkovClustering.
-
MARKOV_CLUSTERING_EXTERNAL
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm MARKOV_CLUSTERING_EXTERNAL
Label forMarkovClusteringExternal.
-
MAXMAX
public static final ClusteringAlgorithmProvider.ProvidingAlgorithm MAXMAX
Label forMaxMax.
-
-
Method Detail
-
values
public static ClusteringAlgorithmProvider.ProvidingAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClusteringAlgorithmProvider.ProvidingAlgorithm c : ClusteringAlgorithmProvider.ProvidingAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClusteringAlgorithmProvider.ProvidingAlgorithm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-