uk.ac.liv.auction.agent
Class BuyerIntervalValuer
java.lang.Object
uk.ac.liv.auction.agent.FixedValuer
uk.ac.liv.auction.agent.IntervalValuer
uk.ac.liv.auction.agent.BuyerIntervalValuer
- All Implemented Interfaces:
- AuctionEventListener, Parameterizable, Resetable, java.io.Serializable, ValuationPolicy
- public class BuyerIntervalValuer
- extends IntervalValuer
- implements java.io.Serializable
Buyers configured with this valuation policy will receive a unique private
value from a common set of values starting at minValue and
incrementing by step as each agent is assigned a valuation.
- Version:
- $Revision: 1.4 $
- Author:
- Steve Phelps
- See Also:
- Serialized Form
|
Field Summary |
protected static boolean |
firstValue
|
protected static double |
minValue
The minimum valuation that any buyer will receive. |
protected static double |
nextValue
|
protected static double |
step
The increment in valuation to use |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
minValue
protected static double minValue
- The minimum valuation that any buyer will receive.
step
protected static double step
- The increment in valuation to use
nextValue
protected static double nextValue
firstValue
protected static boolean firstValue
BuyerIntervalValuer
public BuyerIntervalValuer()
firstValue
protected boolean firstValue()
- Specified by:
firstValue in class IntervalValuer
getMinValue
protected double getMinValue()
- Specified by:
getMinValue in class IntervalValuer
getNextValue
protected double getNextValue()
- Specified by:
getNextValue in class IntervalValuer
getStep
protected double getStep()
- Specified by:
getStep in class IntervalValuer
setFirstValue
protected void setFirstValue(boolean firstValue)
- Specified by:
setFirstValue in class IntervalValuer
setMinValue
protected void setMinValue(double value)
- Specified by:
setMinValue in class IntervalValuer
setNextValue
protected void setNextValue(double value)
- Specified by:
setNextValue in class IntervalValuer
setStep
protected void setStep(double step)
- Specified by:
setStep in class IntervalValuer