public static enum AgglomerativeHierarchicalClustering.ClusterCriteria extends java.lang.Enum<AgglomerativeHierarchicalClustering.ClusterCriteria>
Enum Constant and Description |
---|
AVERAGE_LINKAGE |
CENTROID |
COMPLETE_LINKAGE |
MIN_VARIANCE |
SINGLE_LINKAGE |
Modifier and Type | Method and Description |
---|---|
static AgglomerativeHierarchicalClustering.ClusterCriteria |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AgglomerativeHierarchicalClustering.ClusterCriteria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgglomerativeHierarchicalClustering.ClusterCriteria MIN_VARIANCE
public static final AgglomerativeHierarchicalClustering.ClusterCriteria SINGLE_LINKAGE
public static final AgglomerativeHierarchicalClustering.ClusterCriteria COMPLETE_LINKAGE
public static final AgglomerativeHierarchicalClustering.ClusterCriteria AVERAGE_LINKAGE
public static final AgglomerativeHierarchicalClustering.ClusterCriteria CENTROID
public static AgglomerativeHierarchicalClustering.ClusterCriteria[] values()
for (AgglomerativeHierarchicalClustering.ClusterCriteria c : AgglomerativeHierarchicalClustering.ClusterCriteria.values()) System.out.println(c);
public static AgglomerativeHierarchicalClustering.ClusterCriteria valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null