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.
|
public static final java.lang.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, java.io.LineNumberReader reader) throws java.io.IOException
SpeciesnewIndividual in class Speciesjava.io.IOExceptionpublic Individual newIndividual(EvolutionState state, java.io.DataInput dataInput) throws java.io.IOException
SpeciesnewIndividual in class Speciesjava.io.IOException