Hide Comments
Hide Comments

TRSCustomGeneticProgramming<T>.SelectTournament(TObject,TRSPopulation,TRSIndividual) Method

Comments (0)

Selected a Parent individual from the Population using the Tournament method.

Select "best" parents from a tournament field (size of tournament field is determined by the    TournamentField property), e.g., select the best parent from randomly selecting individuals TournamentField times and then choosing the "winner" of the tournament. Note: for speed purposes, this selection method does not ensure that the same individual cannot be picked twice
 

Namespace: RSGenerics.GeneticProgramming

expandingSyntax

Delphi

protected
  procedure SelectTournament(Sender: TObject; const Population: TRSPopulation; var Parent: TRSIndividual ); override;
 

Parameters

Sender

Type: TObject

Population

Type: TRSPopulation

Parent

Type: TRSIndividual

Overrides

TRSCustomGeneticComponent.SelectTournament(TObject,TRSPopulation,TRSIndividual)
 

expandingSee Also

Comments (0)