public static enum Hclust.Linkage extends Enum<Hclust.Linkage>
Enum Constant and Description |
---|
AVERAGE
Average linkage, i.e., average distance between cluster elements (UPGMA)
|
COMPLETE
Complete linkage, i.e., maximum distance between cluster elements
|
SINGLE
Single linkage, i.e., minimum distance between cluster elements
|
Modifier and Type | Method and Description |
---|---|
static Hclust.Linkage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hclust.Linkage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hclust.Linkage SINGLE
public static final Hclust.Linkage AVERAGE
public static final Hclust.Linkage COMPLETE
public static Hclust.Linkage[] values()
for (Hclust.Linkage c : Hclust.Linkage.values()) System.out.println(c);
public static Hclust.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 null