Navigation: Code Documentation > GeneticAlgorithm > RSGeneticBase > Classes > TRSCustomGeneticComponent > Methods
TRSCustomGeneticComponent.DoEvaluateWeightedFitness(TRSIndividual) Method
Calls the OnEvaluateWeightedFitness event and returns the result. If the event handler has not been defined, this method returns the regular fitness
Namespace: RSGeneticBase
Delphi
protected function DoEvaluateWeightedFitness(const Item: TRSIndividual): TGAFitness; virtual;
Parameters
Item
Type: TRSIndividual
Type: TGAFitness
•RSGeneticBase.TRSCustomGeneticComponent.OnEvaluateWeightedFitness
•TRSCustomGeneticComponent
•RSGeneticBase