public static enum Combiner.Type extends Enum<Combiner.Type>
Enum Constant and Description |
---|
DENSITY
Density-like aggregation.
|
EXTENSIVE
Sum-like aggregation.
|
INTENSIVE
Average-like aggregation.
|
Modifier and Type | Method and Description |
---|---|
double |
getBinFactor(double binExtent)
Returns a scaling factor which ought to be applied to bin values.
|
boolean |
isExtensive()
Indicates whether the bin values scale to first order
with the number of submitted values per bin.
|
static Combiner.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Combiner.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Combiner.Type EXTENSIVE
public static final Combiner.Type INTENSIVE
public static final Combiner.Type DENSITY
EXTENSIVE
,
but results should be divided by bin size;
the getBinFactor
method in general will
return a value that is not unity.public static Combiner.Type[] values()
for (Combiner.Type c : Combiner.Type.values()) System.out.println(c);
public static Combiner.Type 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 boolean isExtensive()
public double getBinFactor(double binExtent)
binExtent
- bin size in some natural unitsCopyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.