|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.Initializer
public abstract class Initializer
The Initializer is a singleton object whose job is to initialize the population at the beginning of the run. It does this by providing a population through the initialPopulation(...) method.
Parameters
pop classname, inherits or = ec.Population |
(the class for a new population) |
Parameter bases
pop | The base for a new population's set up parameters |
Field Summary | |
---|---|
static java.lang.String |
P_POP
parameter for a new population |
Constructor Summary | |
---|---|
Initializer()
|
Method Summary | |
---|---|
abstract Population |
initialPopulation(EvolutionState state,
int thread)
Creates and returns a new initial population for the evolutionary run. |
abstract Population |
setupPopulation(EvolutionState state,
int thread)
Loads a Population from the parameter file, sets it up, and returns it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ec.Setup |
---|
setup |
Field Detail |
---|
public static final java.lang.String P_POP
Constructor Detail |
---|
public Initializer()
Method Detail |
---|
public abstract Population initialPopulation(EvolutionState state, int thread)
public abstract Population setupPopulation(EvolutionState state, int thread)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |