Class GenericPowersetIncreasing
- java.lang.Object
-
- org.spectrumauctions.sats.core.bidlang.generic.SizeOrderedPowerset.GenericPowerset
-
- org.spectrumauctions.sats.core.bidlang.generic.SizeOrderedPowerset.GenericPowersetIncreasing
-
- All Implemented Interfaces:
BiddingLanguage
public abstract class GenericPowersetIncreasing extends GenericPowerset
Iterates over the Powerset of Generic Values.
Attention, this is not suitable for very big models, as this implementation will get very very slow for large bundle sizes.- Author:
- Michael Weiss
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGenericPowersetIncreasing(java.util.List<? extends GenericGood> genericDefinitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidisFeasibleSize(java.util.Map<? extends GenericGood,java.lang.Integer> maxQuantities, int maxBundleSize)java.util.Iterator<org.marketdesignresearch.mechlib.core.bidder.valuefunction.BundleValue>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.spectrumauctions.sats.core.bidlang.BiddingLanguage
getBidder
-
-
-
-
Constructor Detail
-
GenericPowersetIncreasing
protected GenericPowersetIncreasing(java.util.List<? extends GenericGood> genericDefinitions) throws UnsupportedBiddingLanguageException
-
-
Method Detail
-
isFeasibleSize
protected void isFeasibleSize(java.util.Map<? extends GenericGood,java.lang.Integer> maxQuantities, int maxBundleSize) throws UnsupportedBiddingLanguageException
- Specified by:
isFeasibleSizein classGenericPowerset- Throws:
UnsupportedBiddingLanguageException
-
iterator
public java.util.Iterator<org.marketdesignresearch.mechlib.core.bidder.valuefunction.BundleValue> iterator()
-
-