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