public abstract class XORQRandomOrderSimple<T extends GenericDefinition> extends Object implements GenericLang<T>
| Modifier | Constructor and Description |
|---|---|
protected |
XORQRandomOrderSimple(Collection<T> genericDefinitions,
RNGSupplier rngSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Comparator<T> |
getDefComparator() |
protected abstract GenericValueBidder<T> |
getGenericBidder() |
Iterator<GenericValue<T>> |
iterator() |
void |
setIterations(int iterations)
Set the number of iterations in which a bid is created.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBidderprotected XORQRandomOrderSimple(Collection<T> genericDefinitions, RNGSupplier rngSupplier) throws UnsupportedBiddingLanguageException
genericDefinitions - A set of generic definitionsUnsupportedBiddingLanguageException - Thrown if the model doesn't support the requested bidding languagepublic void setIterations(int iterations)
iterations - The number of bids that should be createdpublic Iterator<GenericValue<T>> iterator()
iterator in interface GenericLang<T extends GenericDefinition>protected abstract GenericValueBidder<T> getGenericBidder()
protected abstract Comparator<T> getDefComparator()
Copyright © 2017. All rights reserved.