public static enum Metric.AggregateFunction extends java.lang.Enum<Metric.AggregateFunction> implements java.io.Serializable
Enum Constant and Description |
---|
ARITHMETIC_MEAN
Arithmetic mean
|
GEOMETRIC_MEAN
Geometric mean: To handle zero values while not violating guarantees required for pruning
based on lower bounds, 1d is added to every individual value and 1d is subtracted from the
final result.
|
MAXIMUM
Maximum
|
RANK
Rank: Ordered list of values, compared lexicographically.
|
SUM
Sum
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Metric.AggregateFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Metric.AggregateFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metric.AggregateFunction SUM
public static final Metric.AggregateFunction MAXIMUM
public static final Metric.AggregateFunction ARITHMETIC_MEAN
public static final Metric.AggregateFunction GEOMETRIC_MEAN
public static final Metric.AggregateFunction RANK
public static Metric.AggregateFunction[] values()
for (Metric.AggregateFunction c : Metric.AggregateFunction.values()) System.out.println(c);
public static Metric.AggregateFunction 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Metric.AggregateFunction>