edu.cuny.cat.stat.round
Class DirectRevelationReport
java.lang.Object
edu.cuny.cat.stat.round.DirectRevelationReport
- All Implemented Interfaces:
- AuctionEventListener, GameReport, edu.cuny.obj.Resetable, edu.cuny.stat.Report<AuctionEvent>, java.util.EventListener
- Direct Known Subclasses:
- MarketMetricsReport
public abstract class DirectRevelationReport
- extends java.lang.Object
- implements GameReport, edu.cuny.obj.Resetable
A report that uses FourHeapShoutEngine
to process shouts at specialists to make theoretical analysis later on (in
subclasses).
- Version:
- $Revision: 1.14 $
- Author:
- Kai Cai
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.cuny.stat.Report |
produceUserOutput |
globalShoutEngine
protected FourHeapShoutEngine globalShoutEngine
- The auction state after forced direct revelation.
shoutEngines
protected java.util.Map<java.lang.String,FourHeapShoutEngine> shoutEngines
equilCals
protected java.util.Map<java.lang.String,EquilibriumCalculator> equilCals
globalEquilCal
protected EquilibriumCalculator globalEquilCal
shouts
protected java.util.ArrayList<Shout> shouts
- The truthful shouts of all traders in the auction.
registry
protected Registry registry
DirectRevelationReport
public DirectRevelationReport()
reset
public void reset()
- Specified by:
reset
in interface edu.cuny.obj.Resetable
eventOccurred
public void eventOccurred(AuctionEvent event)
- Specified by:
eventOccurred
in interface AuctionEventListener
simulateDirectRevelation
protected void simulateDirectRevelation()
- Update the auction state with a truthful shout from each trader.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object