Class MRVMBidderSetup
- java.lang.Object
-
- org.spectrumauctions.sats.core.model.BidderSetup
-
- org.spectrumauctions.sats.core.model.mrvm.MRVMBidderSetup
-
- Direct Known Subclasses:
MRVMLocalBidderSetup,MRVMNationalBidderSetup,MRVMRegionalBidderSetup
public abstract class MRVMBidderSetup extends BidderSetup
- Author:
- Michael Weiss
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMRVMBidderSetup.Builder
-
Field Summary
-
Fields inherited from class org.spectrumauctions.sats.core.model.BidderSetup
numberOfBidders, setupName
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMRVMBidderSetup(MRVMBidderSetup.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigDecimaldrawAlpha(UniformDistributionRNG rng)Draws the Alpha-Parameter uniformly at random.
Alpha is a parameter defining an expected profit per served customer, if quality of service and regional discount are ignored.
It can be understood as a relative bidder strength parameter.java.math.BigDecimaldrawBeta(MRVMRegionsMap.Region r, UniformDistributionRNG rng)Draws the Beta-Parameter uniformly at random.
Beta is a parameter defining the target market share this bidder intends to cover.java.util.HashMap<java.lang.Integer,java.math.BigDecimal>drawZHigh(java.util.Map<java.lang.Integer,java.math.BigDecimal> betas, MRVMWorld world, UniformDistributionRNG rng)java.util.HashMap<java.lang.Integer,java.math.BigDecimal>drawZLow(java.util.Map<java.lang.Integer,java.math.BigDecimal> betas, MRVMWorld world, UniformDistributionRNG rng)-
Methods inherited from class org.spectrumauctions.sats.core.model.BidderSetup
getNumberOfBidders, getSetupName
-
-
-
-
Constructor Detail
-
MRVMBidderSetup
protected MRVMBidderSetup(MRVMBidderSetup.Builder builder)
-
-
Method Detail
-
drawAlpha
public java.math.BigDecimal drawAlpha(UniformDistributionRNG rng)
Draws the Alpha-Parameter uniformly at random.
Alpha is a parameter defining an expected profit per served customer, if quality of service and regional discount are ignored.
It can be understood as a relative bidder strength parameter.- Returns:
- a BigDecimal in [0,1]
-
drawBeta
public java.math.BigDecimal drawBeta(MRVMRegionsMap.Region r, UniformDistributionRNG rng)
Draws the Beta-Parameter uniformly at random.
Beta is a parameter defining the target market share this bidder intends to cover.
The bidders value for a bundle increases heavily as soon as the capacity share he has in a region gets close to beta.- Returns:
- a BigDecimal in [0,1]
-
drawZLow
public java.util.HashMap<java.lang.Integer,java.math.BigDecimal> drawZLow(java.util.Map<java.lang.Integer,java.math.BigDecimal> betas, MRVMWorld world, UniformDistributionRNG rng)
-
drawZHigh
public java.util.HashMap<java.lang.Integer,java.math.BigDecimal> drawZHigh(java.util.Map<java.lang.Integer,java.math.BigDecimal> betas, MRVMWorld world, UniformDistributionRNG rng)
-
-