ca.intelliware.amakihi.util.performance
Class Averager

java.lang.Object
  |
  +--ca.intelliware.amakihi.util.performance.StatisticsGenerator
        |
        +--ca.intelliware.amakihi.util.performance.Averager

public class Averager
extends StatisticsGenerator

Version:
$Revision: 1.1 $
Author:
Intelliware Development

Constructor Summary
Averager()
           
Averager(java.util.Vector observations)
           
 
Method Summary
 void addDatum(double x)
           
 double getAverage()
           
 double getStandardDeviation()
           
 double getSum()
           
 double getSumOfSquares()
           
 void reset()
           
 java.lang.String toString()
          Insert the method's description here.
 
Methods inherited from class ca.intelliware.amakihi.util.performance.StatisticsGenerator
addAll, getCount, getMax, getMin, getValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Averager

public Averager()

Averager

public Averager(java.util.Vector observations)
Parameters:
observations - Vector
Method Detail

addDatum

public void addDatum(double x)
Overrides:
addDatum in class StatisticsGenerator

getAverage

public double getAverage()

getStandardDeviation

public double getStandardDeviation()

getSum

public double getSum()

getSumOfSquares

public double getSumOfSquares()

reset

public void reset()
Overrides:
reset in class StatisticsGenerator

toString

public java.lang.String toString()
Insert the method's description here. Creation date: (4/23/2001 1:08:21 PM)
Overrides:
toString in class StatisticsGenerator
Returns:
java.lang.String


Copyright 2002 Intelliware Development. All Rights Reserved.