org.simulator.math
Class ArithmeticMean
java.lang.Object
org.simulator.math.MeanFunction
org.simulator.math.ArithmeticMean
- All Implemented Interfaces:
- Serializable
public class ArithmeticMean
- extends MeanFunction
Class that computes the arithmetic mean of the given column distances.
- Since:
- 1.0
- Version:
- $Rev: 391 $
- Author:
- Roland Keller
- See Also:
- Serialized Form
Method Summary |
double |
computeMean(double... distances)
Computes the overall distance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArithmeticMean
public ArithmeticMean()
computeMean
public double computeMean(double... distances)
- Description copied from class:
MeanFunction
- Computes the overall distance
- Specified by:
computeMean
in class MeanFunction
- Parameters:
distances
- the distance values for the columns
- Returns:
- the computed value