uk.ac.liv.auction.agent
Class PriestVanTolStrategy

java.lang.Object
  extended byuk.ac.liv.auction.agent.AbstractStrategy
      extended byuk.ac.liv.auction.agent.FixedQuantityStrategyImpl
          extended byuk.ac.liv.auction.agent.AdaptiveStrategyImpl
              extended byuk.ac.liv.auction.agent.MomentumStrategy
                  extended byuk.ac.liv.auction.agent.PriestVanTolStrategy
All Implemented Interfaces:
AdaptiveStrategy, AuctionEventListener, java.lang.Cloneable, FixedQuantityStrategy, Parameterizable, Prototypeable, Resetable, java.io.Serializable, Strategy

public class PriestVanTolStrategy
extends MomentumStrategy
implements java.io.Serializable

Version:
$Revision: 1.11 $
Author:
Steve Phelps
See Also:
Serialized Form

Field Summary
protected  HistoricalDataReport historyStats
           
 
Fields inherited from class uk.ac.liv.auction.agent.MomentumStrategy
currentPrice, initialMarginDistribution, lastShout, lastShoutAccepted, learner, P_LEARNER, P_SCALING, perterbationDistribution, scaling, trAskPrice, trBidPrice, trPrice
 
Fields inherited from class uk.ac.liv.auction.agent.AbstractStrategy
agent, auction, currentShout
 
Constructor Summary
PriestVanTolStrategy()
           
 
Method Summary
protected  void adjustMargin()
           
 void auctionOpen(AuctionOpenEvent event)
           
 void eventOccurred(AuctionEvent event)
           
 
Methods inherited from class uk.ac.liv.auction.agent.MomentumStrategy
adjustMargin, agentPolled, calculatePrice, endOfRound, getCurrentPrice, getLastShout, getLearner, getScaling, getTrAskPrice, getTrBidPrice, getTrPrice, initialise, isLastShoutAccepted, modifyShout, perterb, setLearner, setMargin, setup, shoutPlaced, targetMargin, transactionExecuted
 
Methods inherited from class uk.ac.liv.auction.agent.FixedQuantityStrategyImpl
determineQuantity, getQuantity, setQuantity
 
Methods inherited from class uk.ac.liv.auction.agent.AbstractStrategy
getAgent, modifyShout, protoClone, reset, setAgent
 
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.agent.Strategy
determineQuantity, modifyShout, setAgent
 
Methods inherited from interface uk.ac.liv.util.Prototypeable
protoClone
 
Methods inherited from interface uk.ac.liv.util.Resetable
reset
 

Field Detail

historyStats

protected HistoricalDataReport historyStats
Constructor Detail

PriestVanTolStrategy

public PriestVanTolStrategy()
Method Detail

eventOccurred

public void eventOccurred(AuctionEvent event)
Specified by:
eventOccurred in interface AuctionEventListener
Overrides:
eventOccurred in class MomentumStrategy

auctionOpen

public void auctionOpen(AuctionOpenEvent event)

adjustMargin

protected void adjustMargin()
Specified by:
adjustMargin in class MomentumStrategy