Serializable
ArithmeticMean
, DistanceSum
public abstract class MeanFunction extends Object implements Serializable
Constructor | Description |
---|---|
MeanFunction() |
Modifier and Type | Method | Description |
---|---|---|
abstract double |
computeMean(double... values) |
Computes the overall distance
|
double |
computeMean(Iterable<? extends Number> values) |
Computes the overall distance
|
double |
computeMean(List<Double> values) |
Computes the overall distance
|
public abstract double computeMean(double... values)
values
- the distance values for the columnspublic double computeMean(List<Double> values)
values
- the distance values for the columnsCopyright © 2007–2018. All rights reserved.