edu.cuny.cat.stat
Class ProfitReport

java.lang.Object
  extended by edu.cuny.cat.stat.ProfitReport
All Implemented Interfaces:
AuctionEventListener, GameReport, edu.cuny.stat.Report<AuctionEvent>, java.util.EventListener

public class ProfitReport
extends java.lang.Object
implements GameReport

A report tracking the cumulative profits of specialists.

Report variables

<specialist>.profit the daily profit made by each specialist.

Version:
$Revision: 1.21 $
Author:
Jinzhong Niu

Field Summary
 
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
 
Constructor Summary
ProfitReport()
           
 
Method Summary
 void eventOccurred(AuctionEvent event)
           
 java.util.Map<edu.cuny.stat.ReportVariable,?> getVariables()
           
protected  void initCumulativeProfitRecords()
           
 void produceUserOutput()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProfitReport

public ProfitReport()
Method Detail

getVariables

public java.util.Map<edu.cuny.stat.ReportVariable,?> getVariables()

eventOccurred

public void eventOccurred(AuctionEvent event)
Specified by:
eventOccurred in interface AuctionEventListener

initCumulativeProfitRecords

protected void initCumulativeProfitRecords()

produceUserOutput

public void produceUserOutput()
Specified by:
produceUserOutput in interface edu.cuny.stat.Report<AuctionEvent>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object