public class GPSpecies extends Species
Default Base
gp.species
| Modifier and Type | Field and Description |
|---|---|
static 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,
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,
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.
|
public static final String P_GPSPECIES
public Parameter defaultBase()
Prototypepublic void setup(EvolutionState state, Parameter base)
Speciespublic Individual newIndividual(EvolutionState state, int thread)
SpeciesnewIndividual in class Speciespublic Individual newIndividual(EvolutionState state, LineNumberReader reader) throws IOException
SpeciesnewIndividual in class SpeciesIOExceptionpublic Individual newIndividual(EvolutionState state, DataInput dataInput) throws IOException
SpeciesnewIndividual in class SpeciesIOExceptionCopyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.