net.sourceforge.jasa.report
Class DirectRevelationReportVariables
java.lang.Object
AbstractReportVariables
net.sourceforge.jasa.report.DirectRevelationReportVariables
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- EquilibriumReportVariables, SupplyAndDemandStats
public abstract class DirectRevelationReportVariables
- extends AbstractReportVariables
- implements java.io.Serializable
This class computes the hypothetical market state when all agents bid at
their private valuation, ie when all agents bid truthfully. This can be used,
for example, for equilibrium calculations.
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
auction
protected Market auction
shoutEngine
protected FourHeapOrderBook shoutEngine
- The market state after forced direct revelation.
shouts
protected java.util.ArrayList<Order> shouts
- The truthful shouts of all traders in the market.
DirectRevelationReportVariables
public DirectRevelationReportVariables(java.lang.String name,
Market auction)
DirectRevelationReportVariables
public DirectRevelationReportVariables(java.lang.String name)
setAuction
public void setAuction(Market auction)
compute
public void compute(SimEvent event)
simulateDirectRevelation
protected void simulateDirectRevelation()
- Update the market state with a truthful shout from each trader.
initialise
public void initialise()
enumerateTruthfulShout
protected void enumerateTruthfulShout(Order shout)
- Process a truthful shout from an agent
- Parameters:
shout
- The truthful shout
dispose
public void dispose(SimEvent event)
initialise
public void initialise(SimEvent ev)