public class HarmonicMean extends Object implements Aggregation
RETURN_VALUE_FOR_UNDEFINED| Constructor and Description |
|---|
HarmonicMean() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the aggregation.
|
double |
summarize(double[] values)
Aggregates the given confirmation values and returns a single coherence
value.
|
double |
summarize(double[] values,
double[] weights)
Aggregates the product of the given confirmation values and the given
weights and returns a single coherence value.
|
String |
toString() |
public double summarize(double[] values)
Aggregationsummarize in interface Aggregationvalues - values that should be aggregatedpublic String getName()
AggregationgetName in interface Aggregationpublic double summarize(double[] values,
double[] weights)
Aggregationsummarize in interface Aggregationvalues - values that should be aggregatedweights - weights of the single valuesCopyright © 2014–2016. All rights reserved.