public class GPSpecies extends Species
Default Base
gp.species
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
P_GPSPECIES |
f_prototype, i_prototype, P_FITNESS, P_INDIVIDUAL, P_PIPE, pipe_prototype
Constructor and Description |
---|
GPSpecies() |
Modifier and Type | Method and Description |
---|---|
Parameter |
defaultBase()
Returns the default base for this prototype.
|
Individual |
newIndividual(EvolutionState state,
java.io.DataInput dataInput)
Provides an individual read from a DataInput source, including
the fitness.
|
Individual |
newIndividual(EvolutionState state,
int thread)
Provides a brand-new individual to fill in a population.
|
Individual |
newIndividual(EvolutionState state,
java.io.LineNumberReader reader)
Provides an individual read from a stream, including
the fitness; the individual will
appear as it was written by printIndividual(...).
|
void |
setup(EvolutionState state,
Parameter base)
The default version of setup(...) loads requested pipelines and calls setup(...) on them and normalizes their probabilities.
|
buildMisc, clone, updateIndividual, updateSubpopulation
public static final java.lang.String P_GPSPECIES
public Parameter defaultBase()
Prototype
public void setup(EvolutionState state, Parameter base)
Species
public Individual newIndividual(EvolutionState state, int thread)
Species
newIndividual
in class Species
public Individual newIndividual(EvolutionState state, java.io.LineNumberReader reader) throws java.io.IOException
Species
newIndividual
in class Species
java.io.IOException
public Individual newIndividual(EvolutionState state, java.io.DataInput dataInput) throws java.io.IOException
Species
newIndividual
in class Species
java.io.IOException