edu.cuny.cat.stat.round
Class TraderDistributionReport

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

public class TraderDistributionReport
extends java.lang.Object
implements GameReport

A report tracking how traders are distributed among specialists over days.

Report variables

<specialist>.trader the number of traders registered with each specialist.

Version:
$Revision: 1.20 $
Author:
Jinzhong Niu

Field Summary
protected  java.util.Map<java.lang.String,java.lang.Integer> distributions
           
 
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
TraderDistributionReport()
           
 
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
 

Field Detail

distributions

protected java.util.Map<java.lang.String,java.lang.Integer> distributions
Constructor Detail

TraderDistributionReport

public TraderDistributionReport()
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