public final class CATSWorld extends World
| Constructor and Description |
|---|
CATSWorld(CATSWorldSetup worldSetup,
RNGSupplier rngSupplier) |
| Modifier and Type | Method and Description |
|---|---|
List<CATSBidder> |
createPopulation(List<CATSBidderSetup> setups,
RNGSupplier populationRNG) |
double |
getAdditivity() |
Graph |
getGrid() |
com.google.common.collect.ImmutableSet<CATSLicense> |
getLicenses() |
int |
getNumberOfGoods() |
int |
getSize() |
boolean |
getUseQuadraticPricingOption() |
void |
refreshFieldBackReferences()
Some of the members of the World (e.g.
|
Collection<? extends Bidder<CATSLicense>> |
restorePopulation(long populationId)
Restore serialized
Bidder instances via population id |
equals, getId, getModelName, hashCode, openNewPopulation, restorePopulation, restorePopulation, storepublic CATSWorld(CATSWorldSetup worldSetup, RNGSupplier rngSupplier)
public Collection<? extends Bidder<CATSLicense>> restorePopulation(long populationId)
WorldBidder instances via population idrestorePopulation in class WorldpopulationId - the population idpublic com.google.common.collect.ImmutableSet<CATSLicense> getLicenses()
getLicenses in class Worldpublic int getNumberOfGoods()
getNumberOfGoods in class WorldWorld.getNumberOfGoods()public void refreshFieldBackReferences()
WorldrefreshFieldBackReferences in class WorldWorld.refreshFieldBackReferences()public List<CATSBidder> createPopulation(List<CATSBidderSetup> setups, RNGSupplier populationRNG)
public double getAdditivity()
public int getSize()
public Graph getGrid()
public boolean getUseQuadraticPricingOption()
Copyright © 2017. All rights reserved.