public static enum KMeans.InitType extends Enum<KMeans.InitType>
Enum Constant and Description |
---|
EQUAL_NUMBERS |
LINEAR |
LINEAR_INSTANCE |
RANDOM |
RANDOM_INSTANCE |
Modifier and Type | Method and Description |
---|---|
static KMeans.InitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KMeans.InitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KMeans.InitType RANDOM
public static final KMeans.InitType RANDOM_INSTANCE
public static final KMeans.InitType LINEAR
public static final KMeans.InitType LINEAR_INSTANCE
public static final KMeans.InitType EQUAL_NUMBERS
public static KMeans.InitType[] values()
for (KMeans.InitType c : KMeans.InitType.values()) System.out.println(c);
public static KMeans.InitType 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