wworld
Class ScoreKeeper

java.lang.Object
  |
  +--wworld.ScoreKeeper

public class ScoreKeeper
extends java.lang.Object

Keeps track of the score statistics for each agent.


Constructor Summary
ScoreKeeper(int numTrials)
          Constructor.
 
Method Summary
 void calculateAvgScore()
          Calculates average score for the completed trials.
 void calculateStdDeviation()
          Calculates scores standard deviation for the completed trials.
 double getAverageScore()
           
 double getStdDeviation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoreKeeper

public ScoreKeeper(int numTrials)
Constructor. Initializes score information.

Method Detail

calculateAvgScore

public void calculateAvgScore()
Calculates average score for the completed trials.


calculateStdDeviation

public void calculateStdDeviation()
Calculates scores standard deviation for the completed trials.


getAverageScore

public double getAverageScore()

getStdDeviation

public double getStdDeviation()