Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSCustomGeneticComponent.GetAdjustedFitness(TGAFitness) Method

Scroll Prev Top Next More

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

Parameters

StandardizedFitness

Type: TGAFitness

Return Value

Type: TGAFitness

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb