src/GenFx.Components/Terminators/FitnessTargetTerminator.cs
/// <summary>
/// Returns the fitness value to base termination on.
/// </summary>
/// <param name="entity">The <see cref="GeneticEntity"/> whose appropriate fitness value should be returned.</param>
/// <returns>The fitness value to base termination on.</returns>
Returns the fitness value to base termination on.
Returns the fitness value to base termination on .
private double GetFitnessValue(GeneticEntity entity)
        {
            if (this.FitnessType == FitnessType.Raw)
            {
                return entity.RawFitnessValue;
            }
            else
            {
                return entity.ScaledFitnessValue;
            }
        }
private double GetFitnessValue ( GeneticEntity entity ) { if ( this . FitnessType == FitnessType . Raw ) { return entity . RawFitnessValue ; } else { return entity . ScaledFitnessValue ; } }
Returns the fitness value to base termination on.
Returns the fitness value to base termination on .
The fitness value to base termination on.
The fitness value to base termination on .
entity
GeneticEntity
The  whose appropriate fitness value should be returned.
The whose appropriate fitness value should be returned .