public final class MRVMNationalBidder extends MRVMBidder
| Modifier and Type | Method and Description |
|---|---|
Bidder<MRVMLicense> |
drawSimilarBidder(RNGSupplier rngSupplier) |
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.
|
BigDecimal |
getGamma(int uncoveredRegions)
Reads the gammavalue form the stored map.
|
int |
getKMax() |
<T extends BiddingLanguage> |
getValueFunction(Class<T> type,
RNGSupplier rngSupplier) |
int |
hashCode() |
calculateValue, calculateValue, getAlpha, getBeta, getWorld, getzHigh, getzLow, omegaFactor, refreshReference, svFunction, svFunctiongetId, getPopulation, getSetup, getSetupType, getValue, getValueFunction, getValueFunction, getWorldId, storepublic BigDecimal gammaFactor(MRVMRegionsMap.Region r, Bundle<MRVMLicense> bundle)
gammaFactor in class MRVMBidderr - Not required for gamma calculation of national bidder and will be ignoredbundle - The complete bundle (not only containing the licenses of r).public Map<MRVMRegionsMap.Region,BigDecimal> gammaFactors(Bundle<MRVMLicense> bundle)
MRVMBidder.gammaFactor(MRVMRegionsMap.Region, Bundle)gammaFactors in class MRVMBidderbundle - The bundle for which the discounts will be calculated.public int getKMax()
public BigDecimal getGamma(int uncoveredRegions)
getKMax(), then the value for kMax is returned (see model writeup for explanation).uncoveredRegions - the number of regions that are uncoveredpublic Bidder<MRVMLicense> drawSimilarBidder(RNGSupplier rngSupplier)
drawSimilarBidder in class Bidder<MRVMLicense>public <T extends BiddingLanguage> T getValueFunction(Class<T> type, RNGSupplier rngSupplier) throws UnsupportedBiddingLanguageException
getValueFunction in class MRVMBidderUnsupportedBiddingLanguageExceptionpublic int hashCode()
hashCode in class MRVMBidderpublic boolean equals(Object obj)
equals in class MRVMBidderCopyright © 2019. All rights reserved.