|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.liv.auction.core.KPricingPolicy
uk.ac.liv.auction.core.DiscriminatoryPricingPolicy
A pricing policy in which we set the transaction price in the interval between the ask price and the bid price as determined by the parameter k.
| Field Summary |
| Fields inherited from class uk.ac.liv.auction.core.KPricingPolicy |
k, P_K |
| Constructor Summary | |
DiscriminatoryPricingPolicy()
|
|
DiscriminatoryPricingPolicy(double k)
|
|
| Method Summary | |
double |
determineClearingPrice(Shout bid,
Shout ask,
MarketQuote clearingQuote)
|
| Methods inherited from class uk.ac.liv.auction.core.KPricingPolicy |
getK, kInterval, setK, setup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DiscriminatoryPricingPolicy()
public DiscriminatoryPricingPolicy(double k)
| Method Detail |
public double determineClearingPrice(Shout bid,
Shout ask,
MarketQuote clearingQuote)
determineClearingPrice in interface PricingPolicy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||