Package ec.gp.ge
Class GEIndividual
java.lang.Object
ec.Individual
ec.vector.VectorIndividual
ec.vector.IntegerVectorIndividual
ec.gp.ge.GEIndividual
- All Implemented Interfaces:
Prototype,Setup,Serializable,Cloneable,Comparable<Individual>
GEIndividual is a simple subclass of IntegerVectorIndividual which not only prints out (for humans)
the Individual as a int vector but also prints out the Individual's tree representation.
- See Also:
-
Field Summary
FieldsFields inherited from class ec.vector.IntegerVectorIndividual
genome, P_INTEGERVECTORINDIVIDUALFields inherited from class ec.Individual
evaluated, EVALUATED_PREAMBLE, fitness, P_INDIVIDUAL, species -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprintIndividualForHumans(EvolutionState state, int log) Should print the individual out in a pleasing way for humans, with a verbosity of Output.V_NO_GENERAL.Methods inherited from class ec.vector.IntegerVectorIndividual
clamp, clone, defaultBase, defaultCrossover, defaultMutate, distanceTo, equals, genomeLength, genotypeToString, genotypeToStringForHumans, getGenome, hashCode, isInRange, join, parseGenotype, randomValueFromClosedInterval, readGenotype, reset, setGenome, setGenomeLength, setup, split, writeGenotypeMethods inherited from class ec.vector.VectorIndividual
cloneGenes, reset, sizeMethods inherited from class ec.Individual
compareTo, merge, printIndividual, printIndividual, printIndividual, printIndividualForHumans, readIndividual, readIndividual, toString, writeIndividual
-
Field Details
-
GP_PREAMBLE
- See Also:
-
ERC_PREAMBLE
- See Also:
-
BAD_TREE
- See Also:
-
-
Constructor Details
-
GEIndividual
public GEIndividual()
-
-
Method Details
-
printIndividualForHumans
Description copied from class:IndividualShould print the individual out in a pleasing way for humans, with a verbosity of Output.V_NO_GENERAL.- Overrides:
printIndividualForHumansin classIndividual
-