|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.liv.auction.agent.RandomValuer
uk.ac.liv.auction.agent.RandomScheduleValuer
A valuation policy which specifies a randomly-generated series of valuations for each unit of commodity.
| Field Summary |
| Fields inherited from class uk.ac.liv.auction.agent.RandomValuer |
distribution, maxValue, minValue, P_MAXVALUE, P_MINVALUE, value |
| Constructor Summary | |
RandomScheduleValuer()
|
|
RandomScheduleValuer(double min,
double max)
|
|
| Method Summary | |
void |
consumeUnit(Auction auction)
Recalculate valuation after consumption of the commodity being traded in the given auction. |
| Methods inherited from class uk.ac.liv.auction.agent.RandomValuer |
determineValue, drawRandomValue, eventOccurred, 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 |
public RandomScheduleValuer(double min,
double max)
public RandomScheduleValuer()
| Method Detail |
public void consumeUnit(Auction auction)
ValuationPolicy
consumeUnit in interface ValuationPolicyconsumeUnit in class RandomValuer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||