edu.cuny.cat.stat
Class StatisticalReport
java.lang.Object
edu.cuny.stat.AbstractReport<E>
edu.cuny.stat.AbstractReportVariableReport<AuctionEvent>
edu.cuny.cat.stat.StatisticalReport
- All Implemented Interfaces:
- AuctionEventListener, GameReport, edu.cuny.config.param.Parameterizable, edu.cuny.stat.Report<AuctionEvent>, java.util.EventListener
public class StatisticalReport
- extends edu.cuny.stat.AbstractReportVariableReport<AuctionEvent>
- implements GameReport
This class tracks the values of specified report variables, and calculates
and outputs the distribution of each value.
- Version:
- $Revision: 1.6 $
- Author:
- Jinzhong Niu
Field Summary |
protected java.util.Map<java.lang.String,edu.cuny.math.dist.CumulativeDistribution> |
distributions
|
Fields inherited from class edu.cuny.stat.AbstractReportVariableReport |
P_NUM, P_VAR, paramVarNames, varNames |
Fields inherited from interface edu.cuny.cat.stat.GameReport |
ACCEPTED, ASK, BID, CONVERGENCE_COEFFICIENT, EFFICIENCY, EQUILIBRIUM, FEE, Formatter, GLOBAL, MARKETSHARE, MAX, MEAN, MIN, PLACED, PRICE, PROFIT, PROFIT_DISPERSION, QUANTITY, SCORE, SHOUT, SPECIALIST, STDEV, TOTAL, TRADER, TRANSACTION, TRANSACTIONRATE, VALUE |
Methods inherited from class edu.cuny.stat.AbstractReportVariableReport |
applyDecoder, setup, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
distributions
protected java.util.Map<java.lang.String,edu.cuny.math.dist.CumulativeDistribution> distributions
StatisticalReport
public StatisticalReport()
eventOccurred
public void eventOccurred(AuctionEvent event)
- Specified by:
eventOccurred
in interface AuctionEventListener
dailyUpdate
protected void dailyUpdate()
produceUserOutput
public void produceUserOutput()
- Specified by:
produceUserOutput
in interface edu.cuny.stat.Report<AuctionEvent>
getDistribution
public edu.cuny.math.dist.CumulativeDistribution getDistribution(java.lang.String varName)