org.mrd.analysis
Class RunningBasicStatistics
java.lang.Object
|
+--org.mrd.analysis.RunningBasicStatistics
- public class RunningBasicStatistics
- extends java.lang.Object
For each iteration of the model scan the list of agents, and determine the following
number of agents/number survived.
keep calculated running average and std
- Author:
- Mark Diggory
Field Summary |
protected double |
count
|
protected double |
sum
|
protected double |
sumsq
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sum
protected double sum
sumsq
protected double sumsq
count
protected double count
RunningBasicStatistics
public RunningBasicStatistics()
- Creates a new instance of RunningBasicStatisticsTag
getCurrentAverage
public double getCurrentAverage()
getCurrentVariance
public double getCurrentVariance()
getCurrentStd
public double getCurrentStd()
incriment
public void incriment(double value)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Parameters:
args
- the command line arguments
java.lang.Exception
Copyright © 2000-2003 Mark Robert Diggory. All Rights Reserved.