public abstract class DefaultModel<W extends World,B extends Bidder<? extends Good>> extends Object
| Constructor and Description |
|---|
DefaultModel() |
| Modifier and Type | Method and Description |
|---|---|
List<B> |
createNewPopulation()
Creates a new set of
Bidder instances |
List<B> |
createNewPopulation(long seed)
Creates a new set of
Bidder instances |
List<B> |
createNewPopulation(long worldSeed,
long populationSeed)
|
List<B> |
createNewPopulation(RNGSupplier rngSupplier)
|
List<B> |
createNewPopulation(RNGSupplier worldRNG,
RNGSupplier populationRNG)
|
List<B> |
createPopulation(W world)
Creates a new set of
Bidder instances |
List<B> |
createPopulation(W world,
long populationSeed)
Creates a new set of
Bidder instances |
abstract List<B> |
createPopulation(W world,
RNGSupplier populationRNG)
Creates a new set of
Bidder instances |
W |
createWorld()
Creates a new
World |
W |
createWorld(long seed)
Creates a new
World |
abstract W |
createWorld(RNGSupplier worldSeed)
Creates a new
World |
public abstract W createWorld(RNGSupplier worldSeed)
WorldworldSeed - A rng supplier for random creation of world parameterspublic W createWorld(long seed)
Worldseed - The seed for the random creation of world parameterspublic abstract List<B> createPopulation(W world, RNGSupplier populationRNG)
Bidder instancesworld - the World for which the bidders are createdpopulationRNG - a rng supplier for the creation of random bidder parameterspublic List<B> createNewPopulation()
Bidder instancespublic List<B> createNewPopulation(long seed)
Bidder instancesseed - the seed for the RNGpublic List<B> createNewPopulation(RNGSupplier rngSupplier)
rngSupplier - A rng supplier for random creation of both world parameters and bidder paramterspublic List<B> createNewPopulation(long worldSeed, long populationSeed)
worldSeed - A seed for random creation of world parameterspopulationSeed - A seed for randmon creation of bidder parameterspublic List<B> createNewPopulation(RNGSupplier worldRNG, RNGSupplier populationRNG)
worldRNG - A rng supplier for random creation of world parameterspopulationRNG - A rng supplier for randmon creation of bidder parameterspublic List<B> createPopulation(W world, long populationSeed)
Bidder instancesworld - The world for which the bidders are createdpopulationSeed - A seed for random creation of bidder parametersCopyright © 2017. All rights reserved.