net.sourceforge.jasa.market.auctioneer
Class PeriodicClearingHouseAuctioneer

java.lang.Object
  extended by net.sourceforge.jasa.market.auctioneer.AbstractAuctioneer
      extended by net.sourceforge.jasa.market.auctioneer.TransparentAuctioneer
          extended by net.sourceforge.jasa.market.auctioneer.ClearingHouseAuctioneer
              extended by net.sourceforge.jasa.market.auctioneer.PeriodicClearingHouseAuctioneer
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, MarketEventListener, Auctioneer, QuoteProvider

Deprecated.

public class PeriodicClearingHouseAuctioneer
extends ClearingHouseAuctioneer
implements java.io.Serializable

An auctioneer for a periodic k-double-market. The clearing operation is performed periodically as well as at the end of every round. The length of each period depends upon how many shouts have been made since last clearing.

See Also:
Serialized Form
 

Field Summary
static int DEF_SHOUTNUMEACHPERIOD
          Deprecated.  
static java.lang.String P_DEF_BASE
          Deprecated.  
static java.lang.String P_SHOUTNUMEACHPERIOD
          Deprecated.  
 
Fields inherited from class net.sourceforge.jasa.market.auctioneer.ClearingHouseAuctioneer
account
 
Fields inherited from class net.sourceforge.jasa.market.auctioneer.TransparentAuctioneer
acceptedShouts, lastAsk, lastBid, lastShout
 
Fields inherited from class net.sourceforge.jasa.market.auctioneer.AbstractAuctioneer
clearingPolicy, clearingQuote, currentQuote, market, orderBook, pricingPolicy
 
Constructor Summary
PeriodicClearingHouseAuctioneer()
          Deprecated.  
PeriodicClearingHouseAuctioneer(Market auction)
          Deprecated.  
 
Method Summary
 void clear()
          Deprecated. Perform the clearing operation for the market; match buyers with sellers and inform the market of any deals.
protected  void newShoutInternal(Order shout)
          Deprecated.  
 
Methods inherited from class net.sourceforge.jasa.market.auctioneer.ClearingHouseAuctioneer
generateQuote, getAccount, onRoundClosed
 
Methods inherited from class net.sourceforge.jasa.market.auctioneer.TransparentAuctioneer
getLastAsk, getLastBid, getLastShout, orderFilled, recordMatch, reset, shoutsVisible, transactionsOccurred
 
Methods inherited from class net.sourceforge.jasa.market.auctioneer.AbstractAuctioneer
askIterator, askQuote, bidIterator, bidQuote, checkShoutValidity, clear, clear, determineClearingPrice, eventOccurred, getClearingPolicy, getClearingQuote, getMarket, getOrderBook, getPricingPolicy, getQuote, getUnmatchedAsks, getUnmatchedBids, initialise, newOrder, onEndOfDay, printState, protoClone, removeOrder, setClearingPolicy, setClearingQuote, setMarket, setOrderBook, setPricingPolicy, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

P_SHOUTNUMEACHPERIOD

public static final java.lang.String P_SHOUTNUMEACHPERIOD
Deprecated. 
See Also:
Constant Field Values

DEF_SHOUTNUMEACHPERIOD

public static final int DEF_SHOUTNUMEACHPERIOD
Deprecated. 
See Also:
Constant Field Values

P_DEF_BASE

public static final java.lang.String P_DEF_BASE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

PeriodicClearingHouseAuctioneer

public PeriodicClearingHouseAuctioneer()
Deprecated. 

PeriodicClearingHouseAuctioneer

public PeriodicClearingHouseAuctioneer(Market auction)
Deprecated. 
Method Detail

clear

public void clear()
Deprecated. 
Description copied from interface: Auctioneer
Perform the clearing operation for the market; match buyers with sellers and inform the market of any deals.

Specified by:
clear in interface Auctioneer
Overrides:
clear in class AbstractAuctioneer

newShoutInternal

protected void newShoutInternal(Order shout)
                         throws DuplicateShoutException
Deprecated. 
Overrides:
newShoutInternal in class TransparentAuctioneer
Throws:
DuplicateShoutException