org.simulator.math
Class DistanceSum

java.lang.Object
  extended by org.simulator.math.MeanFunction
      extended by 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

Constructor Summary
DistanceSum()
           
 
Method Summary
 double computeMean(double... values)
          Computes the overall distance
 
Methods inherited from class org.simulator.math.MeanFunction
computeMean, computeMean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceSum

public DistanceSum()
Method Detail

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

Generated December 13 2012