public static enum NaiveAgglomerativeHierarchicalClustering4.Linkage extends Enum<NaiveAgglomerativeHierarchicalClustering4.Linkage>
Enum Constant and Description |
---|
CENTROID |
COMPLETE |
GROUP_AVERAGE |
MEDIAN |
SINGLE |
WARD |
WEIGHTED_AVERAGE |
Modifier and Type | Method and Description |
---|---|
abstract double |
combine(int sizex,
double dx,
int sizey,
double dy,
int sizej,
double dxy) |
static NaiveAgglomerativeHierarchicalClustering4.Linkage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NaiveAgglomerativeHierarchicalClustering4.Linkage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NaiveAgglomerativeHierarchicalClustering4.Linkage SINGLE
public static final NaiveAgglomerativeHierarchicalClustering4.Linkage COMPLETE
public static final NaiveAgglomerativeHierarchicalClustering4.Linkage GROUP_AVERAGE
public static final NaiveAgglomerativeHierarchicalClustering4.Linkage WEIGHTED_AVERAGE
public static final NaiveAgglomerativeHierarchicalClustering4.Linkage CENTROID
public static final NaiveAgglomerativeHierarchicalClustering4.Linkage MEDIAN
public static final NaiveAgglomerativeHierarchicalClustering4.Linkage WARD
public static NaiveAgglomerativeHierarchicalClustering4.Linkage[] values()
for (NaiveAgglomerativeHierarchicalClustering4.Linkage c : NaiveAgglomerativeHierarchicalClustering4.Linkage.values()) System.out.println(c);
public static NaiveAgglomerativeHierarchicalClustering4.Linkage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract double combine(int sizex, double dx, int sizey, double dy, int sizej, double dxy)