edu.cuny.cat.valuation
Class DistinctDistributionValuer
java.lang.Object
edu.cuny.cat.valuation.ValuationPolicy
edu.cuny.cat.valuation.AbstractRandomValuer
edu.cuny.cat.valuation.DistinctDistributionValuer
- All Implemented Interfaces:
- AuctionEventListener, edu.cuny.obj.Resetable
public class DistinctDistributionValuer
- extends AbstractRandomValuer
A valuation policy in which valuations are drawn from a uniform distribution
which remains the same during a game but may change game from game.
- Version:
- $Revision: 1.11 $
- Author:
- Jinzhong Niu
Field Summary |
protected DistinctDistributionValuerGenerator |
generator
The generator instance that created this valuer |
protected cern.jet.random.Uniform |
minValueDist
The distribution to draw the lower bound of the range for the uniform
distribution. |
protected cern.jet.random.Uniform |
rangeDist
The distribution to draw the length of the range for the uniform
distribution. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
generator
protected DistinctDistributionValuerGenerator generator
- The generator instance that created this valuer
minValueDist
protected cern.jet.random.Uniform minValueDist
- The distribution to draw the lower bound of the range for the uniform
distribution.
rangeDist
protected cern.jet.random.Uniform rangeDist
- The distribution to draw the length of the range for the uniform
distribution.
DistinctDistributionValuer
public DistinctDistributionValuer()
setGenerator
public void setGenerator(DistinctDistributionValuerGenerator generator)
getGenerator
public DistinctDistributionValuerGenerator getGenerator()
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