Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramming > Classes > TRSGPIndividual<T> > Methods
TRSGPIndividual<T>.AssignDNA(TNode) Method
Replaces the current DNA tree with the aDNA parameter. The old DNA tree is deleted and freed.
Namespace: RSGenerics.GeneticProgramming
Delphi
public procedure AssignDNA( const aDNA: TNode );
Parameters
aDNA
Type: System.Void
•RSGenerics.GeneticProgramming.TRSGPIndividual<T>.DNA
•RSGenerics.GeneticProgramming.TRSGPIndividual<T>.FlattenDNA
•TRSGPIndividual<T>
•RSGenerics.GeneticProgramming