Hide Comments
Hide Comments

TRSCustomGeneticComponent.Fittest(TRSIndividual,TRSIndividual,Boolean) Method

Comments (0)

Returns the "fitter" of the two parent individuals. It compares the Fitness properties (or WeightedFitness) of both individuals, and, based on the FitnessMethod, selects the better individual.

Namespace: RSGeneticBase

expandingSyntax

Delphi

public
  function Fittest( const Parent1, Parent2: TRSIndividual; UsePureFitness: Boolean = False ): TRSIndividual; virtual;
 

Parameters

Parent1

Type: TRSIndividual

Parent2

Type: TRSIndividual

UsePureFitness

Type: Boolean

Return Value

Type: TRSIndividual

expandingSee Also

Comments (0)