Enum KiePMMLAggregateFunction
- java.lang.Object
-
- java.lang.Enum<KiePMMLAggregateFunction>
-
- org.kie.pmml.models.clustering.model.KiePMMLAggregateFunction
-
- All Implemented Interfaces:
Serializable,Comparable<KiePMMLAggregateFunction>,org.kie.pmml.api.enums.Named
public enum KiePMMLAggregateFunction extends Enum<KiePMMLAggregateFunction> implements org.kie.pmml.api.enums.Named
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY_SIMILARITYCHEBYCHEVCITY_BLOCKEUCLIDEANJACCARDMINKOWSKISIMPLE_MATCHINGSQUARED_EUCLIDEANTANIMOTO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleapply(List<KiePMMLClusteringField> fields, KiePMMLCompareFunction defaultCompare, Double[] inputs, double[] seeds, double adjust)StringgetName()static KiePMMLAggregateFunctionvalueOf(String name)Returns the enum constant of this type with the specified name.static KiePMMLAggregateFunction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EUCLIDEAN
public static final KiePMMLAggregateFunction EUCLIDEAN
-
SQUARED_EUCLIDEAN
public static final KiePMMLAggregateFunction SQUARED_EUCLIDEAN
-
CHEBYCHEV
public static final KiePMMLAggregateFunction CHEBYCHEV
-
CITY_BLOCK
public static final KiePMMLAggregateFunction CITY_BLOCK
-
MINKOWSKI
public static final KiePMMLAggregateFunction MINKOWSKI
-
SIMPLE_MATCHING
public static final KiePMMLAggregateFunction SIMPLE_MATCHING
-
JACCARD
public static final KiePMMLAggregateFunction JACCARD
-
TANIMOTO
public static final KiePMMLAggregateFunction TANIMOTO
-
BINARY_SIMILARITY
public static final KiePMMLAggregateFunction BINARY_SIMILARITY
-
-
Method Detail
-
values
public static KiePMMLAggregateFunction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KiePMMLAggregateFunction c : KiePMMLAggregateFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KiePMMLAggregateFunction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.kie.pmml.api.enums.Named
-
apply
public double apply(List<KiePMMLClusteringField> fields, KiePMMLCompareFunction defaultCompare, Double[] inputs, double[] seeds, double adjust)
-
-