uk.ac.liv.auction.agent
Class DailyRandomValuer

java.lang.Object
  extended byuk.ac.liv.auction.agent.RandomValuer
      extended byuk.ac.liv.auction.agent.DailyRandomValuer
All Implemented Interfaces:
AuctionEventListener, Parameterizable, Resetable, java.io.Serializable, ValuationPolicy

public class DailyRandomValuer
extends RandomValuer

A valuation policy in which we are allocated a new random valuation at the end of each day.

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

Field Summary
 
Fields inherited from class uk.ac.liv.auction.agent.RandomValuer
distribution, maxValue, minValue, P_MAXVALUE, P_MINVALUE, value
 
Constructor Summary
DailyRandomValuer()
           
DailyRandomValuer(double minValue, double maxValue)
           
 
Method Summary
 void eventOccurred(AuctionEvent event)
          Recalculate valuation(s) in response to an auction event.
 
Methods inherited from class uk.ac.liv.auction.agent.RandomValuer
consumeUnit, determineValue, drawRandomValue, getCurrentValuation, getMaxValue, getMinValue, initialise, reset, setMaxValue, setMinValue, setup, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DailyRandomValuer

public DailyRandomValuer()

DailyRandomValuer

public DailyRandomValuer(double minValue,
                         double maxValue)
Method Detail

eventOccurred

public void eventOccurred(AuctionEvent event)
Description copied from interface: ValuationPolicy
Recalculate valuation(s) in response to an auction event.

Specified by:
eventOccurred in interface ValuationPolicy
Overrides:
eventOccurred in class RandomValuer