| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.valuation.DistinctDistributionValuerGenerator
public class DistinctDistributionValuerGenerator
This valuer generator creates valuation policies in which we randomly
 determine our valuation across all auctions and all units at
 agent-initialisation time. Valuations are drawn from a uniform distribution
 on ranges that vary game from game in a multi-game simulation. This is in
 contrast to the constant range and various types of distributions used in
 RandomValuerGenerator.
 
 
Parameters
| base  .minvaluemin double >= 0  | 
 (the lower bound of the minimum valuations of ranges) | 
| base  .minvaluemax double >=0  | 
 (the upper bound of the minimum valuations of ranges) | 
| base  .rangemin double >= 0  | 
 (the lower bound of the sizes of ranges) | 
| base  .rangemax double >=0  | 
 (the upper bound of the sizes of ranges) | 
Default Base
| distinct_distribution_valuer | 
 
| Field Summary | |
|---|---|
protected  double | 
minValueMax
 | 
protected  double | 
minValueMin
 | 
static java.lang.String | 
P_DEF_BASE
 | 
static java.lang.String | 
P_MINVALUEMAX
 | 
static java.lang.String | 
P_MINVALUEMIN
 | 
static java.lang.String | 
P_RANGEMAX
 | 
static java.lang.String | 
P_RANGEMIN
 | 
protected  double | 
rangeMax
 | 
protected  double | 
rangeMin
 | 
| Constructor Summary | |
|---|---|
DistinctDistributionValuerGenerator()
 | 
|
DistinctDistributionValuerGenerator(double minValueMin,
                                    double minValueMax,
                                    double rangeMin,
                                    double rangeMax)
 | 
|
| Method Summary | |
|---|---|
 ValuationPolicy | 
createValuer()
creates a new valuer.  | 
 void | 
eventOccurred(AuctionEvent event)
Recalculate valuation(s) in response to an auction event.  | 
 double | 
getMinValueMax()
 | 
 double | 
getMinValueMin()
 | 
 double | 
getRangeMax()
 | 
 double | 
getRangeMin()
 | 
 void | 
reset()
 | 
 void | 
setMinValueMax(double minValueMax)
 | 
 void | 
setMinValueMin(double minValueMin)
 | 
 void | 
setRangeMax(double rangeMax)
 | 
 void | 
setRangeMin(double rangeMin)
 | 
 void | 
setup(edu.cuny.config.param.ParameterDatabase parameters,
      edu.cuny.config.param.Parameter base)
 | 
 java.lang.String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected double minValueMin
protected double minValueMax
protected double rangeMin
protected double rangeMax
public static final java.lang.String P_DEF_BASE
public static final java.lang.String P_MINVALUEMIN
public static final java.lang.String P_MINVALUEMAX
public static final java.lang.String P_RANGEMIN
public static final java.lang.String P_RANGEMAX
| Constructor Detail | 
|---|
public DistinctDistributionValuerGenerator()
public DistinctDistributionValuerGenerator(double minValueMin,
                                           double minValueMax,
                                           double rangeMin,
                                           double rangeMax)
| Method Detail | 
|---|
public void setup(edu.cuny.config.param.ParameterDatabase parameters,
                  edu.cuny.config.param.Parameter base)
setup in interface edu.cuny.config.param.Parameterizablepublic ValuationPolicy createValuer()
ValuerGenerator
createValuer in interface ValuerGeneratorpublic void reset()
reset in interface edu.cuny.obj.Resetablepublic void eventOccurred(AuctionEvent event)
ValuerGenerator
eventOccurred in interface AuctionEventListenereventOccurred in interface ValuerGeneratorpublic double getMinValueMin()
public void setMinValueMin(double minValueMin)
public double getMinValueMax()
public void setMinValueMax(double minValueMax)
public double getRangeMin()
public void setRangeMin(double rangeMin)
public double getRangeMax()
public void setRangeMax(double rangeMax)
public java.lang.String toString()
toString in class java.lang.Object
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||