edu.cuny.cat.valuation
Class DailyRandomValuer

java.lang.Object
  extended by edu.cuny.cat.valuation.ValuationPolicy
      extended by edu.cuny.cat.valuation.AbstractRandomValuer
          extended by edu.cuny.cat.valuation.RandomValuer
              extended by edu.cuny.cat.valuation.DailyRandomValuer
All Implemented Interfaces:
AuctionEventListener, edu.cuny.obj.Resetable

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.10 $
Author:
Jinzhong Niu

Field Summary
 
Fields inherited from class edu.cuny.cat.valuation.RandomValuer
generator, MAX_REDRAWING_TIMES
 
Fields inherited from class edu.cuny.cat.valuation.AbstractRandomValuer
distribution
 
Fields inherited from class edu.cuny.cat.valuation.ValuationPolicy
value
 
Constructor Summary
DailyRandomValuer()
           
 
Method Summary
 void eventOccurred(AuctionEvent event)
          Recalculate valuation(s) in response to an auction event.
 
Methods inherited from class edu.cuny.cat.valuation.RandomValuer
drawRandomValue, getGenerator, setGenerator
 
Methods inherited from class edu.cuny.cat.valuation.AbstractRandomValuer
getDistribution, setDistribution
 
Methods inherited from class edu.cuny.cat.valuation.ValuationPolicy
getValue, reset, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DailyRandomValuer

public DailyRandomValuer()
Method Detail

eventOccurred

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

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