public final class MRVMLocalBidder extends MRVMBidder
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BigDecimal |
gammaFactor(MRVMRegionsMap.Region r,
Bundle<MRVMLicense> bundle)
Calculates the gamma factor, as explained in the model writeup.
|
Map<MRVMRegionsMap.Region,BigDecimal> |
gammaFactors(Bundle<MRVMLicense> bundle)
Calculates the gamma factors for all regions.
|
<T extends BiddingLanguage> |
getValueFunction(Class<T> type,
long seed)
Use this method to get a desired value function representation (bidding language)
for this bidder.
|
int |
hashCode() |
calculateValue, calculateValue, getAlpha, getBeta, getWorld, getzHigh, getzLow, omegaFactor, refreshReference, svFunction, svFunctiongetId, getPopulation, getSetupType, getValue, getValueFunction, getWorldId, storepublic BigDecimal gammaFactor(MRVMRegionsMap.Region r, Bundle<MRVMLicense> bundle)
gammaFactor in class MRVMBidderbundle - Is not required for calculation of local bidders gamma factors and will be ignored.r - The region for which the discount is requestedpublic Map<MRVMRegionsMap.Region,BigDecimal> gammaFactors(Bundle<MRVMLicense> bundle)
MRVMBidder.gammaFactor(MRVMRegionsMap.Region, Bundle)gammaFactors in class MRVMBidderbundle - Is not required for calculation of local bidders gamma factors and will be ignored.public <T extends BiddingLanguage> T getValueFunction(Class<T> type, long seed) throws UnsupportedBiddingLanguageException
BiddergetValueFunction in class MRVMBiddertype - the type of the value functionUnsupportedBiddingLanguageException - Throws this exception for all bidding languages
which are not supported by the implementing bidder class. This javadoc should be extended by
the implementing class, specifying which value function representation are supported.public int hashCode()
hashCode in class MRVMBidderpublic boolean equals(Object obj)
equals in class MRVMBidderCopyright © 2017. All rights reserved.