net.sourceforge.jasa.report
Class AuctionStateStats

java.lang.Object
  extended by AbstractReportVariables
      extended by net.sourceforge.jasa.report.DirectRevelationReportVariables
          extended by net.sourceforge.jasa.report.SupplyAndDemandStats
              extended by net.sourceforge.jasa.report.AuctionStateStats
All Implemented Interfaces:
java.io.Serializable

public class AuctionStateStats
extends SupplyAndDemandStats

 

Field Summary
 
Fields inherited from class net.sourceforge.jasa.report.SupplyAndDemandStats
demandStats, supplyStats
 
Fields inherited from class net.sourceforge.jasa.report.DirectRevelationReportVariables
auction, shoutEngine, shouts
 
Constructor Summary
AuctionStateStats(Market auction, DataWriter supplyStats, DataWriter demandStats)
          Constructor.
 
Method Summary
 java.lang.String getName()
           
 void writeDemandStats()
           
 void writeSupplyStats()
           
 
Methods inherited from class net.sourceforge.jasa.report.SupplyAndDemandStats
produceUserOutput, writeStats
 
Methods inherited from class net.sourceforge.jasa.report.DirectRevelationReportVariables
compute, dispose, enumerateTruthfulShout, initialise, initialise, setAuction, simulateDirectRevelation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuctionStateStats

public AuctionStateStats(Market auction,
                         DataWriter supplyStats,
                         DataWriter demandStats)
Constructor.

Parameters:
market - The market to compute supply and demand stats for.
supplyStats - The DataWriter to write the supply curve to.
demandStats - The DataWriter to write the demand curve to.
Method Detail

writeSupplyStats

public void writeSupplyStats()
Specified by:
writeSupplyStats in class SupplyAndDemandStats

writeDemandStats

public void writeDemandStats()
Specified by:
writeDemandStats in class SupplyAndDemandStats

getName

public java.lang.String getName()