net.sourceforge.jasa.market.auctioneer
Class PeriodicClearingHouseAuctioneer
java.lang.Object
net.sourceforge.jasa.market.auctioneer.AbstractAuctioneer
net.sourceforge.jasa.market.auctioneer.TransparentAuctioneer
net.sourceforge.jasa.market.auctioneer.ClearingHouseAuctioneer
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
-
-
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.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 |
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
PeriodicClearingHouseAuctioneer
public PeriodicClearingHouseAuctioneer()
- Deprecated.
PeriodicClearingHouseAuctioneer
public PeriodicClearingHouseAuctioneer(Market auction)
- Deprecated.
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