TRSCustomGeneticComponent.Fittest(TRSIndividual,TRSIndividual,Boolean) Method |
Scroll Prev Top Next More |
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
Delphi |
public |
Parameters
Parent1
Type: TRSIndividual
Parent2
Type: TRSIndividual
UsePureFitness
Type: Boolean
Type: TRSIndividual