Class MRVMGenericAllocationLimit

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit

        org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit.NoAllocationLimit
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String HIGH_PAIRED_NAME  
      protected static java.lang.String LOW_PAIRED_NAME  
      protected static java.lang.String UNPAIRED_NAME  
      • Fields inherited from class org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit

        NO
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int calculateAllocationBundleSpace​(java.util.List<? extends org.marketdesignresearch.mechlib.core.Good> startingSpace)  
      org.marketdesignresearch.mechlib.core.Bundle getUniformRandomBundle​(java.util.Random random, java.util.List<? extends org.marketdesignresearch.mechlib.core.Good> goods)  
      • Methods inherited from class org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit

        addAllocationLimitConstraint, canEqual, equals, getAdditionalVariables, getConstraints, hashCode, toString, validate, validateDomainCompatiblity
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MRVMGenericAllocationLimit

        public MRVMGenericAllocationLimit​(MRVMBidder bidder)
    • Method Detail

      • calculateAllocationBundleSpace

        public int calculateAllocationBundleSpace​(java.util.List<? extends org.marketdesignresearch.mechlib.core.Good> startingSpace)
        Specified by:
        calculateAllocationBundleSpace in class org.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:
        getUniformRandomBundle in class org.marketdesignresearch.mechlib.core.allocationlimits.AllocationLimit