edu.cuny.cat.valuation
Class GamelyRandomValuer

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.GamelyRandomValuer
All Implemented Interfaces:
AuctionEventListener, edu.cuny.obj.Resetable

public class GamelyRandomValuer
extends RandomValuer

A valuation policy in which we are allocated a new random valuation at the end of each game (iteration).

Version:
$Revision: 1.4 $
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
GamelyRandomValuer()
           
 
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

GamelyRandomValuer

public GamelyRandomValuer()
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