public static enum KMeansPlusPlusClusterer.EmptyClusterStrategy extends java.lang.Enum<KMeansPlusPlusClusterer.EmptyClusterStrategy>
Enum Constant and Description |
---|
ERROR
Generate an error.
|
FARTHEST_POINT
Create a cluster around the point farthest from its centroid.
|
LARGEST_POINTS_NUMBER
Split the cluster with largest number of points.
|
LARGEST_VARIANCE
Split the cluster with largest distance variance.
|
Modifier and Type | Method and Description |
---|---|
static KMeansPlusPlusClusterer.EmptyClusterStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KMeansPlusPlusClusterer.EmptyClusterStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KMeansPlusPlusClusterer.EmptyClusterStrategy LARGEST_VARIANCE
public static final KMeansPlusPlusClusterer.EmptyClusterStrategy LARGEST_POINTS_NUMBER
public static final KMeansPlusPlusClusterer.EmptyClusterStrategy FARTHEST_POINT
public static final KMeansPlusPlusClusterer.EmptyClusterStrategy ERROR
public static KMeansPlusPlusClusterer.EmptyClusterStrategy[] values()
for (KMeansPlusPlusClusterer.EmptyClusterStrategy c : KMeansPlusPlusClusterer.EmptyClusterStrategy.values()) System.out.println(c);
public static KMeansPlusPlusClusterer.EmptyClusterStrategy 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 nullCopyright © 2010 - 2020 Adobe. All Rights Reserved