Class MRVMBidder

    • Method Detail

      • omegaFactor

        public java.math.BigDecimal omegaFactor​(MRVMRegionsMap.Region r,
                                                java.math.BigDecimal sv)
        Calculates the omega factor (i.e., the regional value)
      • svFunction

        public java.math.BigDecimal svFunction​(MRVMRegionsMap.Region region,
                                               java.math.BigDecimal c)
        Calculates the sv-function [See description in paper]
      • gammaFactor

        public abstract java.math.BigDecimal gammaFactor​(MRVMRegionsMap.Region r,
                                                         java.util.Set<MRVMLicense> bundle)
        Calculates the gamma factor, as explained in the model writeup.
        The gamma factor represents a bidder-specific discount of the the regional (omega) values.
        Parameters:
        r - The region for which the discount is requested
        bundle - The complete bundle (not only containing the licenses of r).
      • calculateValue

        public java.math.BigDecimal calculateValue​(org.marketdesignresearch.mechlib.core.Bundle bundle)
        Description copied from class: SATSBidder
        Returns the value this bidder has for a specific bundle.
        Specified by:
        calculateValue in class SATSBidder
        Parameters:
        bundle - the bundle for which the value is asked
        Returns:
        bidder specific value for this bundle
      • getWorld

        public MRVMWorld getWorld()
        Specified by:
        getWorld in class SATSBidder
        Returns:
        World to which this bidder belongs. The implementing Bidder class, overriding this method, should return a world type corresponding to the specific model.
      • getAlpha

        public java.math.BigDecimal getAlpha()
      • getBestBundles

        public java.util.LinkedHashSet<org.marketdesignresearch.mechlib.core.Bundle> getBestBundles​(org.marketdesignresearch.mechlib.core.price.Prices prices,
                                                                                                    int maxNumberOfBundles,
                                                                                                    boolean allowNegative)
      • bidderTypeSpecificDemandQueryMIPAdjustments

        protected abstract void bidderTypeSpecificDemandQueryMIPAdjustments​(MRVM_MIP mip)
        Allows a specific bidder type (subclass) to change the demand query mip before execution. I.e. restrict demand query result to items where the bidder is interested in.
        Parameters:
        mip -
      • refreshReference

        public void refreshReference​(World world)
        Description copied from class: SATSBidder
        To prevent from creating too many identical world instances, worlds are not serialized and deserialized with the bidder
        As a temporary solution, the world instance is re-added after deserialization by calling this method.

        This method will be removed in a later version and be done automatically during deserialization.
        Specified by:
        refreshReference in class SATSBidder
        See Also:
        SATSBidder.refreshReference(World)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class SATSBidder
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
        Overrides:
        canEqual in class SATSBidder
      • getAllocationLimit

        public org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit getAllocationLimit()
      • setAllocationLimit

        public void setAllocationLimit​(org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit allocationLimit)