edu.cuny.cat.stat
Class TraderReport

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

public class TraderReport
extends java.lang.Object
implements GameReport

A report recording information about traders.

Report variables

<trader>.specialist the id of the specialist a trader registers with on the current day.
<trader>.value the private value of a trader.

Version:
$Revision: 1.5 $
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
TraderReport()
           
 
Method Summary
 void eventOccurred(AuctionEvent event)
           
 java.util.Map<edu.cuny.stat.ReportVariable,?> getVariables()
           
 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

TraderReport

public TraderReport()
Method Detail

getVariables

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

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

eventOccurred

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