Hide Comments
Hide Comments

TRSCustomGeneticComponent.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: RSGeneticBase

expandingSyntax

Delphi

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

Parameters

Sender

Type: TObject

Population

Type: TRSPopulation

Parent

Type: TRSIndividual

expandingSee Also

Comments (0)