net.sourceforge.jasa.agent.valuation
Class BuyerIntervalValuer
java.lang.Object
net.sourceforge.jasa.agent.valuation.AbstractValuationPolicy
net.sourceforge.jasa.agent.valuation.FixedValuer
net.sourceforge.jasa.agent.valuation.IntervalValuer
net.sourceforge.jasa.agent.valuation.BuyerIntervalValuer
- All Implemented Interfaces:
- java.io.Serializable, ValuationPolicy, MarketEventListener
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.
- 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 |
Fields inherited from class net.sourceforge.jasa.agent.valuation.FixedValuer |
value |
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()
BuyerIntervalValuer
public BuyerIntervalValuer(double minValue,
double step)
firstValue
public boolean firstValue()
- Specified by:
firstValue
in class IntervalValuer
getMinValue
public double getMinValue()
- Specified by:
getMinValue
in class IntervalValuer
getNextValue
public double getNextValue()
- Specified by:
getNextValue
in class IntervalValuer
getStep
public double getStep()
- Specified by:
getStep
in class IntervalValuer
setFirstValue
public void setFirstValue(boolean firstValue)
- Specified by:
setFirstValue
in class IntervalValuer
setMinValue
public void setMinValue(double value)
- Specified by:
setMinValue
in class IntervalValuer
setNextValue
public void setNextValue(double value)
- Specified by:
setNextValue
in class IntervalValuer
setStep
public void setStep(double step)
- Specified by:
setStep
in class IntervalValuer