java.io.Serializable
, java.lang.Comparable<Combiner.Type>
public static enum Combiner.Type extends java.lang.Enum<Combiner.Type>
Enum Constant | Description |
---|---|
DENSITY |
Density-like aggregation.
|
EXTENSIVE |
Sum-like aggregation.
|
INTENSIVE |
Average-like aggregation.
|
Modifier and Type | Method | 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(java.lang.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(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 boolean isExtensive()
public double getBinFactor(double binExtent)
binExtent
- bin size in some natural unitsCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.