public enum WeightType extends java.lang.Enum<WeightType>
| Enum Constant and Description |
|---|
GAUSSIAN_SQ
Gaussian distribution where the input distance is assumed to be the distance squared.
|
UNIFORM
Uniform distribution
|
| Modifier and Type | Method and Description |
|---|---|
static WeightType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeightType UNIFORM
public static final WeightType GAUSSIAN_SQ
public static WeightType[] values()
for (WeightType c : WeightType.values()) System.out.println(c);
public static WeightType 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 null