edu.cuny.cat.stat
Class ReportVariableWriterReport
java.lang.Object
  
edu.cuny.stat.AbstractReport<E>
      
edu.cuny.stat.AbstractReportVariableReport<E>
          
edu.cuny.stat.AbstractReportVariableWriterReport<AuctionEvent>
              
edu.cuny.cat.stat.ReportVariableWriterReport
- All Implemented Interfaces: 
 - AuctionEventListener, GameReport, edu.cuny.config.param.Parameterizable, edu.cuny.stat.Report<AuctionEvent>, java.util.EventListener
 
public class ReportVariableWriterReport
- 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
 
| 
Field Summary | 
protected  int | 
day
 
            | 
protected  int | 
gameNum
 
            | 
 
| 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
ReportVariableWriterReport
public ReportVariableWriterReport()
ReportVariableWriterReport
public ReportVariableWriterReport(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>