ec.gp.ge
Class GEIndividual
java.lang.Object
ec.Individual
ec.vector.VectorIndividual
ec.vector.ByteVectorIndividual
ec.gp.ge.GEIndividual
- All Implemented Interfaces:
- Prototype, Setup, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class GEIndividual
- extends ByteVectorIndividual
GEIndividual is a simple subclass of ByteVectorIndividual which not only prints out (for humans)
the Individual as a byte vector but also prints out the Individual's tree representation.
- See Also:
- Serialized Form
Methods inherited from class ec.vector.ByteVectorIndividual |
clamp, clone, defaultBase, defaultCrossover, defaultMutate, distanceTo, equals, genomeLength, genotypeToString, genotypeToStringForHumans, getGenome, hashCode, isInRange, join, parseGenotype, readGenotype, reset, setGenome, setGenomeLength, setup, split, writeGenotype |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
TREE_PREAMBLE
public static final java.lang.String TREE_PREAMBLE
- See Also:
- Constant Field Values
BAD_TREE
public static final java.lang.String BAD_TREE
- See Also:
- Constant Field Values
GEIndividual
public GEIndividual()
printIndividualForHumans
public void printIndividualForHumans(EvolutionState state,
int log)
- Description copied from class:
Individual
- Should print the individual out in a pleasing way for humans,
with a verbosity of Output.V_NO_GENERAL.
- Overrides:
printIndividualForHumans
in class Individual