uk.ac.liv.auction.core
Class RandomRobinAuction

java.lang.Object
  extended byjava.util.Observable
      extended byuk.ac.liv.auction.core.AuctionImpl
          extended byuk.ac.liv.auction.core.RoundRobinAuction
              extended byuk.ac.liv.auction.core.RandomRobinAuction
All Implemented Interfaces:
Auction, Parameterizable, QuoteProvider, Resetable, java.lang.Runnable, java.io.Serializable

public class RandomRobinAuction
extends RoundRobinAuction

A round-robin auction in which the ordering of traders in randomized for each round.

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

Field Summary
 
Fields inherited from class uk.ac.liv.auction.core.RoundRobinAuction
acceptedShouts, activeTraders, age, day, defunctTraders, ERROR_SHOUTSVISIBLE, guiConsole, lengthOfDay, maximumDays, maximumRounds, P_AGENT_TYPE, P_AUCTIONEER, P_CONSOLE, P_EVENTHANDLER, P_LENGTH_OF_DAY, P_MAXIMUM_DAYS, P_MAXIMUM_ROUNDS, P_NAME, P_NUM_AGENT_TYPES, P_NUM_AGENTS, P_REPORT, P_STATS, registeredTraders, round, shoutsProcessed
 
Fields inherited from class uk.ac.liv.auction.core.AuctionImpl
auctioneer, closed, eventListeners, id, lastAsk, lastBid, lastShout, name, report
 
Constructor Summary
RandomRobinAuction()
           
RandomRobinAuction(java.lang.String name)
           
 
Method Summary
 void requestShouts()
          Invokes the requestShout() method on each trader in the auction, giving each trader the opportunity to bid in the auction.
 
Methods inherited from class uk.ac.liv.auction.core.RoundRobinAuction
activate, activateGUIConsole, begin, changeShout, checkEndOfDay, clear, deactivateGUIConsole, end, endDay, generateReport, getActiveTraderIterator, getAge, getConsole, getDay, getLastAsk, getLastBid, getLengthOfDay, getMaximumDays, getMaximumRounds, getNumberOfRegisteredTraders, getNumberOfTraders, getRemainingTime, getRound, getTraderIterator, informRoundClosed, initialise, isQuiescent, newShout, register, remove, requestShout, reset, run, runSingleRound, setConsole, setLengthOfDay, setMaximumDays, setMaximumRounds, setup, shoutAccepted, step, sweepDefunctTraders, transactionsOccured
 
Methods inherited from class uk.ac.liv.auction.core.AuctionImpl
addAuctionEventListener, addAuctionEventListener, addListener, addReport, close, closed, fireEvent, getAuctioneer, getLastShout, getName, getQuote, getReport, getReport, getResults, informAuctionClosed, informAuctionOpen, informEndOfDay, printState, recordShout, removeAuctionEventListener, removeAuctionEventListener, removeShout, setAuctioneer, setName, setReport, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomRobinAuction

public RandomRobinAuction()

RandomRobinAuction

public RandomRobinAuction(java.lang.String name)
Method Detail

requestShouts

public void requestShouts()
Description copied from class: RoundRobinAuction
Invokes the requestShout() method on each trader in the auction, giving each trader the opportunity to bid in the auction.

Overrides:
requestShouts in class RoundRobinAuction