public class SimpleInitializer extends Initializer
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
P_POP| Constructor and Description |
|---|
SimpleInitializer() |
| Modifier and Type | Method and Description |
|---|---|
Population |
initialPopulation(EvolutionState state,
int thread)
Creates, populates, and returns a new population by making a new
population, calling setup(...) on it, and calling populate(...)
on it, assuming an unthreaded environment (thread 0).
|
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored
in state, built off of the parameter base base.
|
Population |
setupPopulation(EvolutionState state,
int thread)
Loads a Population from the parameter file, sets it up, and returns it.
|
private static final long serialVersionUID
public void setup(EvolutionState state, Parameter base)
Setuppublic Population initialPopulation(EvolutionState state, int thread)
initialPopulation in class Initializerpublic Population setupPopulation(EvolutionState state, int thread)
InitializersetupPopulation in class InitializerCopyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.