public enum KiePMMLCompareFunction extends Enum<KiePMMLCompareFunction> implements Named
| Enum Constant and Description |
|---|
ABS_DIFF |
DELTA |
EQUAL |
GAUSS_SIM |
TABLE |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(KiePMMLClusteringField field,
double x,
double y) |
String |
getName() |
static KiePMMLCompareFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KiePMMLCompareFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KiePMMLCompareFunction ABS_DIFF
public static final KiePMMLCompareFunction GAUSS_SIM
public static final KiePMMLCompareFunction DELTA
public static final KiePMMLCompareFunction EQUAL
public static final KiePMMLCompareFunction TABLE
public static KiePMMLCompareFunction[] values()
for (KiePMMLCompareFunction c : KiePMMLCompareFunction.values()) System.out.println(c);
public static KiePMMLCompareFunction 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 nullpublic double apply(KiePMMLClusteringField field, double x, double y)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.