Class XORQRandomOrderSimple
- java.lang.Object
-
- org.spectrumauctions.sats.core.bidlang.generic.SimpleRandomOrder.XORQRandomOrderSimple
-
- All Implemented Interfaces:
BiddingLanguage
public abstract class XORQRandomOrderSimple extends java.lang.Object implements BiddingLanguage
- Author:
- Fabio Isler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXORQRandomOrderSimple(java.util.List<? extends GenericGood> genericGoods, RNGSupplier rngSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<org.marketdesignresearch.mechlib.core.bidder.valuefunction.BundleValue>iterator()voidsetIterations(int iterations)Set the number of iterations in which a bid is created.-
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
-
XORQRandomOrderSimple
protected XORQRandomOrderSimple(java.util.List<? extends GenericGood> genericGoods, RNGSupplier rngSupplier)
- Parameters:
genericGoods- A set of generic goods
-
-
Method Detail
-
setIterations
public void setIterations(int iterations)
Set the number of iterations in which a bid is created. However, consider that the maximum number of bids that can be created is 0.8 * maxNumberOfBids: (sizeOfA * sizeOfB * ... * sizeOfZ) for goods A - Z- Parameters:
iterations- The number of bids that should be created
-
iterator
public java.util.Iterator<org.marketdesignresearch.mechlib.core.bidder.valuefunction.BundleValue> iterator()
- Specified by:
iteratorin interfaceBiddingLanguage
-
-