edu.cuny.cat.stat
Class RoundlyReportVariableWriterReport
java.lang.Object
edu.cuny.stat.AbstractReport<E>
edu.cuny.stat.AbstractReportVariableReport<E>
edu.cuny.stat.AbstractReportVariableWriterReport<AuctionEvent>
edu.cuny.cat.stat.RoundlyReportVariableWriterReport
- All Implemented Interfaces:
- AuctionEventListener, GameReport, edu.cuny.config.param.Parameterizable, edu.cuny.stat.Report<AuctionEvent>, java.util.EventListener
public class RoundlyReportVariableWriterReport
- extends edu.cuny.stat.AbstractReportVariableWriterReport<AuctionEvent>
- implements GameReport
This class writes values of specified report variables to the specified
DataWriter
objects, and thus can be used to log data to, e.g.,
CSV files, a database back end, etc.
- Version:
- $Revision: 1.26 $
- Author:
- Jinzhong Niu
Fields inherited from class edu.cuny.stat.AbstractReportVariableWriterReport |
log |
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.AbstractReportVariableWriterReport |
closeRecord, setup, toString |
Methods inherited from class edu.cuny.stat.AbstractReportVariableReport |
applyDecoder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
gameNum
protected int gameNum
day
protected int day
round
protected int round
RoundlyReportVariableWriterReport
public RoundlyReportVariableWriterReport()
RoundlyReportVariableWriterReport
public RoundlyReportVariableWriterReport(edu.cuny.util.io.CSVWriter log)
generateHeader
protected void generateHeader()
- Overrides:
generateHeader
in class edu.cuny.stat.AbstractReportVariableWriterReport<AuctionEvent>
eventOccurred
public void eventOccurred(AuctionEvent event)
- Specified by:
eventOccurred
in interface AuctionEventListener
updateData
protected void updateData()
- Overrides:
updateData
in class edu.cuny.stat.AbstractReportVariableWriterReport<AuctionEvent>
produceUserOutput
public void produceUserOutput()
- Specified by:
produceUserOutput
in interface edu.cuny.stat.Report<AuctionEvent>