Hide Comments
Hide Comments

TRSCustomGeneticComponent.GetAdjustedFitness(TGAFitness) Method

Comments (0)

Calculates the adjusted fitness, a value between 0 and 1, where a bigger value (closer to 1) represents better individuals.

The adjusted fitness equals 1/(1 + StandardizedFitness) when minimizing, and 1/(1+(MaxFitness - StandardizedFitness)) when maximizing.
 

Namespace: RSGeneticBase

expandingSyntax

Delphi

protected
  function GetAdjustedFitness( const StandardizedFitness: TGAFitness ): TGAFitness;
 

Parameters

StandardizedFitness

Type: TGAFitness

Return Value

Type: TGAFitness

expandingSee Also

Comments (0)