|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ec.Species ec.vector.VectorSpecies ec.cgp.representation.VectorSpeciesCGP ec.cgp.representation.FloatVectorSpecies
public class FloatVectorSpecies
Float-based genome representation of a Cartesian Genetic Program. Gene values are restricted to floats in the range [0,1]. During program evaluation, each float value is scaled to integers in the acceptable range that is imposed by the gene's position.
Field Summary |
---|
Fields inherited from class ec.cgp.representation.VectorSpeciesCGP |
---|
GENE_ARGUMENT, GENE_FUNCTION, GENE_OUTPUT, maxArity, numFunctions, numInputs, numNodes, numOutputs, P_FUNCTIONS, P_MAX_ARITY, P_NUM_FUNCTIONS, P_NUM_INPUTS, P_NUM_NODES, P_NUM_OUTPUTS, P_VECTORSPECIES |
Fields inherited from class ec.vector.VectorSpecies |
---|
C_ANY_POINT, C_ONE_POINT, C_TWO_POINT, chunksize, crossoverProbability, crossoverType, genomeSize, mutationProbability, P_CHUNKSIZE, P_CROSSOVERPROB, P_CROSSOVERTYPE, P_GENOMESIZE, P_MUTATIONPROB, V_ANY_POINT, V_ONE_POINT, V_TWO_POINT |
Fields inherited from class ec.Species |
---|
f_prototype, i_prototype, P_FITNESS, P_INDIVIDUAL, P_PIPE, pipe_prototype |
Constructor Summary | |
---|---|
FloatVectorSpecies()
|
Method Summary | |
---|---|
void |
setup(ec.EvolutionState state,
ec.util.Parameter base)
Added setup step that automatically sets max-gene to 1.0. |
Methods inherited from class ec.cgp.representation.VectorSpeciesCGP |
---|
computeMaxGene, computeMaxGene, defaultBase, function, function, functionSub, interpretFloat, nodeNumber, nodeNumber, numGenes, phenotype, phenotype, phenotypeDescription, positionFromNodeNumber, toString |
Methods inherited from class ec.vector.VectorSpecies |
---|
newIndividual |
Methods inherited from class ec.Species |
---|
clone, newIndividual, newIndividual |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FloatVectorSpecies()
Method Detail |
---|
public void setup(ec.EvolutionState state, ec.util.Parameter base)
setup
in interface ec.Prototype
setup
in interface ec.Setup
setup
in class VectorSpeciesCGP
Prototype.setup(EvolutionState,Parameter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |