Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > GeneticAlgorithm > RSGeneticBase > Classes > TRSCustomGeneticComponent > Methods

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

Parameters

Parent1

Type: TRSIndividual

Parent2

Type: TRSIndividual

UsePureFitness

Type: Boolean

Return Value

Type: TRSIndividual

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb