Navigation: Code Documentation > GeneticAlgorithm > RSGeneticBase > Classes > TRSCustomGeneticComponent > Methods
TRSCustomGeneticComponent.SelectParent(TRSPopulation) Method
Selects a parent for the new generation using the SelectionMethod or the OnSelection event.
Namespace: RSGeneticBase
Delphi
public function SelectParent( const Population: TRSPopulation ): TRSIndividual; virtual;
Parameters
Population
Type: TRSPopulation
Type: TRSIndividual
•RSGeneticBase.TRSCustomGeneticComponent.SelectionMethod
•RSGeneticBase.TRSCustomGeneticComponent.OnSelection
•TRSCustomGeneticComponent
•RSGeneticBase