src/GenFx.Components/Scaling/SigmaScalingStrategy.cs
/// <summary>
/// Returns the sigma scaled fitness value of <paramref name="geneticEntity"/>.
/// </summary>
Returns the sigma scaled fitness value of .
Returns the sigma scaled fitness value of .
private double GetSigmaScaleValue(GeneticEntity geneticEntity, double mean, double standardDeviation)
        {
            double val = geneticEntity.RawFitnessValue - (mean - this.Multiplier * standardDeviation);
            if (val < 0)
            {
                return 0;
            }
            else
            {
                return val;
            }
        }
private double GetSigmaScaleValue ( GeneticEntity geneticEntity , double mean , double standardDeviation ) { double val = geneticEntity . RawFitnessValue - ( mean - this . Multiplier * standardDeviation ) ; if ( val < 0 ) { return 0 ; } else { return val ; } }
Returns the sigma scaled fitness value of .
Returns the sigma scaled fitness value of .
// Goldberg, 1989
geneticEntity
GeneticEntity
mean
double
standardDeviation
double