public enum FeatureComparison extends Enum<FeatureComparison>
Enum Constant and Description |
---|
BHATTACHARYYA
Bhattacharya distance
|
CHI_SQUARE
Chi-squared distance
|
CORRELATION
Pearson correlation
|
EQUALS
Equality (every element is equal)
|
EUCLIDEAN
Euclidean distance
|
INTERSECTION
Histogram intersection
|
Modifier and Type | Method and Description |
---|---|
static FeatureComparison |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureComparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeatureComparison EUCLIDEAN
public static final FeatureComparison CORRELATION
public static final FeatureComparison CHI_SQUARE
public static final FeatureComparison INTERSECTION
public static final FeatureComparison BHATTACHARYYA
public static final FeatureComparison EQUALS
public static FeatureComparison[] values()
for (FeatureComparison c : FeatureComparison.values()) System.out.println(c);
public static FeatureComparison 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