uk.ac.liv.auction.stats
Class GraphReport

java.lang.Object
  extended byuk.ac.liv.auction.stats.AbstractAuctionReport
      extended byuk.ac.liv.auction.stats.DataWriterReport
          extended byuk.ac.liv.auction.stats.MeanValueDataWriterReport
              extended byuk.ac.liv.auction.stats.GraphReport
All Implemented Interfaces:
AuctionEventListener, AuctionReport, Parameterizable, Resetable

public class GraphReport
extends MeanValueDataWriterReport
implements Parameterizable, Resetable

A report that logs data to a RePast graph sequence.

Version:
$Revision: 1.2 $
Author:
Steve Phelps

Field Summary
protected  RepastGraphSequence[] allSeries
           
protected  RepastGraphSequence askQuoteSeries
           
protected  RepastGraphSequence bidQuoteSeries
           
protected  int currentSeries
           
protected  javax.swing.event.EventListenerList listenerList
           
protected static GraphReport singletonInstance
           
protected  RepastGraphSequence transPriceSeries
           
 
Fields inherited from class uk.ac.liv.auction.stats.MeanValueDataWriterReport
allStats, askQuoteStats, askStats, bidQuoteStats, bidStats, round, transPriceStats
 
Fields inherited from class uk.ac.liv.auction.stats.DataWriterReport
askLog, askQuoteLog, auction, bidLog, bidQuoteLog, transPriceLog
 
Constructor Summary
GraphReport()
           
 
Method Summary
 java.util.Iterator getSequenceIterator()
           
static GraphReport getSingletonInstance()
           
 void reset()
          Reinitialise our state to the original settings.
 void setup(ec.util.ParameterDatabase parameters, ec.util.Parameter base)
          Initialise this object from a parameter database.
 
Methods inherited from class uk.ac.liv.auction.stats.MeanValueDataWriterReport
eventOccurred, produceUserOutput, roundClosed, update, updateQuoteLog, updateShoutLog, updateTransPriceLog
 
Methods inherited from class uk.ac.liv.auction.stats.DataWriterReport
dataUpdated, getVariables, setAuction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentSeries

protected int currentSeries

allSeries

protected RepastGraphSequence[] allSeries

singletonInstance

protected static GraphReport singletonInstance

askQuoteSeries

protected RepastGraphSequence askQuoteSeries

bidQuoteSeries

protected RepastGraphSequence bidQuoteSeries

transPriceSeries

protected RepastGraphSequence transPriceSeries

listenerList

protected javax.swing.event.EventListenerList listenerList
Constructor Detail

GraphReport

public GraphReport()
Method Detail

setup

public void setup(ec.util.ParameterDatabase parameters,
                  ec.util.Parameter base)
Description copied from interface: Parameterizable
Initialise this object from a parameter database.

Specified by:
setup in interface Parameterizable
Overrides:
setup in class DataWriterReport

getSingletonInstance

public static GraphReport getSingletonInstance()

reset

public void reset()
Description copied from interface: Resetable
Reinitialise our state to the original settings.

Specified by:
reset in interface Resetable

getSequenceIterator

public java.util.Iterator getSequenceIterator()