Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramming > Classes > TRSGPIndividual<T> > Methods
TRSGPIndividual<T>.FlattenDNA Method
Flattens the DNA tree into a list of nodes. Used by the genetic programming component for various uses, such as selecting a node
You should not have to call the FlattenDNA method yourself.
Namespace: RSGenerics.GeneticProgramming
Delphi
public procedure FlattenDNA; virtual;
•RSGenerics.GeneticProgramming.TRSGPIndividual<T>.DNA
•RSGenerics.GeneticProgramming.TRSGPIndividual<T>.SelectNode(TGAFloat,TGPGeneticInstructions)
•TRSGPIndividual<T>
•RSGenerics.GeneticProgramming