Class Summary |
AggregationScheme |
Since the constructors are protected, use AggregationScheme.getInstance(yourMeanClass.class) for having the single instance shared by the application. |
DummyAS |
A dummy extractor which returns the first value of the vector |
GenericMean |
Generic mean implementation
It follows the formula m=inversePhi(sum(phi(x)/n)
phi(x)=x -> arithmetic mean -> use new GenericMean(GenericMean.ARITHMETIC)
phi(x)=x^ -> quadratic mean -> use new GenericMean(GenericMean.QUADRATIC)
phi(x) = ln(x) -> geometric mean -> use new GenericMean(GenericMean.GEOMETRIC)
phi(x) = 1/x -> harmonic mean -> use new GenericMean(GenericMean.HARMONIC)
... |