Navigation: Code Documentation > GeneticAlgorithm > RSGeneticBase > Classes > TRSCustomGeneticComponent > Methods
TRSCustomGeneticComponent.SwapGenerations Method
Swaps the Population and PreviousGeneration collections in preparation for evolving a new generation.
Namespace: RSGeneticBase
Delphi
public procedure SwapGenerations;
•TRSCustomGeneticComponent
•RSGeneticBase