uk.ac.liv.auction.core
Class KDoubleAuctioneer

java.lang.Object
  extended byuk.ac.liv.auction.core.AbstractAuctioneer
      extended byuk.ac.liv.auction.core.KAuctioneer
          extended byuk.ac.liv.auction.core.KDoubleAuctioneer
All Implemented Interfaces:
Auctioneer, java.lang.Cloneable, Parameterizable, ParameterizablePricing, Prototypeable, QuoteProvider, Resetable, java.io.Serializable

public class KDoubleAuctioneer
extends KAuctioneer
implements java.io.Serializable

An auctioneer for a k-double-auction. The clearing operation is performed at the end of every round.

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

Field Summary
 
Fields inherited from class uk.ac.liv.auction.core.KAuctioneer
clearingQuote, P_PRICING, pricingPolicy
 
Fields inherited from class uk.ac.liv.auction.core.AbstractAuctioneer
auction, currentQuote, shoutEngine
 
Constructor Summary
KDoubleAuctioneer()
           
KDoubleAuctioneer(Auction auction)
           
KDoubleAuctioneer(Auction auction, double k)
           
KDoubleAuctioneer(Auction auction, KPricingPolicy policy)
           
KDoubleAuctioneer(double k)
           
 
Method Summary
 void endOfAuctionProcessing()
           
 void endOfRoundProcessing()
           
 void generateQuote()
           
 boolean shoutsVisible()
          Return true if the shouts of others are visible.
 
Methods inherited from class uk.ac.liv.auction.core.KAuctioneer
askQuote, bidQuote, clear, determineClearingPrice, getK, setK, setPricingPolicy, setup
 
Methods inherited from class uk.ac.liv.auction.core.AbstractAuctioneer
askIterator, bidIterator, endOfDayProcessing, getAuction, getQuote, initialise, newAsk, newBid, newShout, printState, protoClone, removeShout, reset, setAuction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KDoubleAuctioneer

public KDoubleAuctioneer()

KDoubleAuctioneer

public KDoubleAuctioneer(double k)

KDoubleAuctioneer

public KDoubleAuctioneer(Auction auction,
                         double k)

KDoubleAuctioneer

public KDoubleAuctioneer(Auction auction,
                         KPricingPolicy policy)

KDoubleAuctioneer

public KDoubleAuctioneer(Auction auction)
Method Detail

generateQuote

public void generateQuote()
Specified by:
generateQuote in class AbstractAuctioneer

endOfRoundProcessing

public void endOfRoundProcessing()
Specified by:
endOfRoundProcessing in interface Auctioneer

endOfAuctionProcessing

public void endOfAuctionProcessing()
Specified by:
endOfAuctionProcessing in interface Auctioneer

shoutsVisible

public boolean shoutsVisible()
Description copied from interface: Auctioneer
Return true if the shouts of others are visible.

Specified by:
shoutsVisible in interface Auctioneer