Class ModelDomain<T extends SATSBidder>

  • All Implemented Interfaces:
    org.marketdesignresearch.mechlib.core.Domain, org.marketdesignresearch.mechlib.instrumentation.MipInstrumentationable
    Direct Known Subclasses:
    GSVMDomain, LSVMDomain, MRVMDomain

    public abstract class ModelDomain<T extends SATSBidder>
    extends java.lang.Object
    implements org.marketdesignresearch.mechlib.core.Domain
    • Constructor Detail

      • ModelDomain

        public ModelDomain​(java.util.List<T> bidders)
    • Method Detail

      • getMIP

        public abstract ModelMIP getMIP()
      • getEfficientAllocation

        public org.marketdesignresearch.mechlib.core.Allocation getEfficientAllocation()
        Specified by:
        getEfficientAllocation in interface org.marketdesignresearch.mechlib.core.Domain
      • hasEfficientAllocationCalculated

        public boolean hasEfficientAllocationCalculated()
        Specified by:
        hasEfficientAllocationCalculated in interface org.marketdesignresearch.mechlib.core.Domain
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface org.marketdesignresearch.mechlib.core.Domain
      • setMipInstrumentation

        public void setMipInstrumentation​(org.marketdesignresearch.mechlib.instrumentation.MipInstrumentation mipInstrumentation)
        Specified by:
        setMipInstrumentation in interface org.marketdesignresearch.mechlib.instrumentation.MipInstrumentationable
      • proposeStartingPrices

        public org.marketdesignresearch.mechlib.core.price.Prices proposeStartingPrices()
        Specified by:
        proposeStartingPrices in interface org.marketdesignresearch.mechlib.core.Domain
      • equals

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

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getBidders

        public java.util.List<T> getBidders()
        Specified by:
        getBidders in interface org.marketdesignresearch.mechlib.core.Domain
      • setPriceGenerationBidsPerBidder

        public void setPriceGenerationBidsPerBidder​(int priceGenerationBidsPerBidder)
      • getPriceGenerationBidsPerBidder

        protected int getPriceGenerationBidsPerBidder()
      • setPriceGenerationNumberOfWorldSamples

        public void setPriceGenerationNumberOfWorldSamples​(int priceGenerationNumberOfWorldSamples)
      • setPriceGenerationFraction

        public void setPriceGenerationFraction​(double priceGenerationFraction)
      • setPriceGenerationSeed

        public void setPriceGenerationSeed​(long priceGenerationSeed)
      • getMipInstrumentation

        public org.marketdesignresearch.mechlib.instrumentation.MipInstrumentation getMipInstrumentation()
        Specified by:
        getMipInstrumentation in interface org.marketdesignresearch.mechlib.instrumentation.MipInstrumentationable