|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.liv.auction.stats.AbstractAuctionReport
uk.ac.liv.auction.stats.AbstractMarketStatsReport
uk.ac.liv.auction.stats.DirectRevelationReport
This class computes the hypothetical auction state when all agents bid at their private valuation, ie when all agents bid truthfully. This can be used, for example, for equilibrium calculations.
| Field Summary | |
protected RoundRobinAuction |
auction
The auction we are computing stats for. |
protected FourHeapShoutEngine |
shoutEngine
The auction state after forced direct revelation. |
protected java.util.ArrayList |
shouts
The truthful shouts of all traders in the auction. |
| Constructor Summary | |
DirectRevelationReport()
|
|
DirectRevelationReport(RoundRobinAuction auction)
|
|
| Method Summary | |
void |
calculate()
|
protected void |
enumerateTruthfulShout(Shout shout)
Process a truthful shout from an agent |
void |
initialise()
|
void |
reset()
Reinitialise our state to the original settings. |
void |
setAuction(RoundRobinAuction auction)
Specify the auction to be used when generating the report. |
void |
setup(ec.util.ParameterDatabase parameters,
ec.util.Parameter base)
Initialise this object from a parameter database. |
protected void |
simulateDirectRevelation()
Update the auction state with a truthful shout from each trader. |
| Methods inherited from class uk.ac.liv.auction.stats.AbstractMarketStatsReport |
eventOccurred |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uk.ac.liv.auction.stats.AuctionReport |
getVariables, produceUserOutput |
| Field Detail |
protected FourHeapShoutEngine shoutEngine
protected RoundRobinAuction auction
protected java.util.ArrayList shouts
| Constructor Detail |
public DirectRevelationReport(RoundRobinAuction auction)
public DirectRevelationReport()
| Method Detail |
public void setAuction(RoundRobinAuction auction)
AuctionReport
setAuction in interface AuctionReportsetAuction in class AbstractAuctionReport
public void setup(ec.util.ParameterDatabase parameters,
ec.util.Parameter base)
Parameterizable
setup in interface Parameterizablepublic void calculate()
calculate in class AbstractMarketStatsReportprotected void simulateDirectRevelation()
public void initialise()
public void reset()
Resetable
reset in interface Resetableprotected void enumerateTruthfulShout(Shout shout)
shout - The truthful shout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||