public static enum NaiveAgglomerativeHierarchicalClustering3.Linkage extends java.lang.Enum<NaiveAgglomerativeHierarchicalClustering3.Linkage>
The update formulas here come from:
R. M. Cormack, A Review of Classification
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 NaiveAgglomerativeHierarchicalClustering3.Linkage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NaiveAgglomerativeHierarchicalClustering3.Linkage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NaiveAgglomerativeHierarchicalClustering3.Linkage SINGLE
public static final NaiveAgglomerativeHierarchicalClustering3.Linkage COMPLETE
public static final NaiveAgglomerativeHierarchicalClustering3.Linkage GROUP_AVERAGE
public static final NaiveAgglomerativeHierarchicalClustering3.Linkage WEIGHTED_AVERAGE
public static final NaiveAgglomerativeHierarchicalClustering3.Linkage CENTROID
public static final NaiveAgglomerativeHierarchicalClustering3.Linkage MEDIAN
public static final NaiveAgglomerativeHierarchicalClustering3.Linkage WARD
public static NaiveAgglomerativeHierarchicalClustering3.Linkage[] values()
for (NaiveAgglomerativeHierarchicalClustering3.Linkage c : NaiveAgglomerativeHierarchicalClustering3.Linkage.values()) System.out.println(c);
public static NaiveAgglomerativeHierarchicalClustering3.Linkage 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 nullpublic abstract double combine(int sizex, double dx, int sizey, double dy, int sizej, double dxy)
Copyright © 2019 ELKI Development Team. License information.