org.simulator.math
Class ArithmeticMean

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

Constructor Summary
ArithmeticMean()
           
 
Method Summary
 double computeMean(double... distances)
          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

ArithmeticMean

public ArithmeticMean()
Method Detail

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

Generated at April 19 2013
Version 1.3 Revision 424