Class MRVMAllocationLimit
- java.lang.Object
-
- org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit
-
- org.spectrumauctions.sats.core.model.mrvm.MRVMAllocationLimit
-
- Direct Known Subclasses:
MRVMNationalBidderAllocationLimit
public class MRVMAllocationLimit extends org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringHIGH_PAIRED_NAMEprotected static java.lang.StringLOW_PAIRED_NAMEprotected static java.lang.StringUNPAIRED_NAME
-
Constructor Summary
Constructors Constructor Description MRVMAllocationLimit(MRVMBidder bidder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcalculateAllocationBundleSpace(java.util.List<? extends org.marketdesignresearch.mechlib.core.Good> startingSpace)org.marketdesignresearch.mechlib.core.BundlegetUniformRandomBundle(java.util.Random random, java.util.List<? extends org.marketdesignresearch.mechlib.core.Good> goods)
-
-
-
Field Detail
-
LOW_PAIRED_NAME
protected static final java.lang.String LOW_PAIRED_NAME
- See Also:
- Constant Field Values
-
HIGH_PAIRED_NAME
protected static final java.lang.String HIGH_PAIRED_NAME
- See Also:
- Constant Field Values
-
UNPAIRED_NAME
protected static final java.lang.String UNPAIRED_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MRVMAllocationLimit
public MRVMAllocationLimit(MRVMBidder bidder)
-
-
Method Detail
-
calculateAllocationBundleSpace
public int calculateAllocationBundleSpace(java.util.List<? extends org.marketdesignresearch.mechlib.core.Good> startingSpace)
- Specified by:
calculateAllocationBundleSpacein classorg.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit
-
getUniformRandomBundle
public org.marketdesignresearch.mechlib.core.Bundle getUniformRandomBundle(java.util.Random random, java.util.List<? extends org.marketdesignresearch.mechlib.core.Good> goods)- Specified by:
getUniformRandomBundlein classorg.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit
-
-