public abstract class PairwiseAggregatorBase extends java.lang.Object implements IAggregator
Constructor and Description |
---|
PairwiseAggregatorBase() |
Modifier and Type | Method and Description |
---|---|
double |
aggregate(java.util.Collection<? extends java.lang.Number> values)
Aggregate collection of values to one value.
|
protected abstract double |
aggregate(double aggregate,
double value)
Calculate aggregate of two values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNeutralElement
public PairwiseAggregatorBase()
public double aggregate(java.util.Collection<? extends java.lang.Number> values)
Double.NaN
for the median of an
empty collections.aggregate
in interface IAggregator
protected abstract double aggregate(double aggregate, double value)
aggregate
- the value that has been aggregated by previous pairwise
aggregationsvalue
- the new value