src/GenFx/GeneticEntityCollectionExtensions.cs
/// <summary>
/// Compares the two <see cref="GeneticEntity"/> objects based on their fitness values.
/// </summary>
/// <param name="x">The first <see cref="GeneticEntity"/>.</param>
/// <param name="y">The second <see cref="GeneticEntity"/>.</param>
/// <returns>
/// Zero if both entities have the same fitness values.  Less than zero if the first entity
/// has a fitness value less than the second entity.  Greater than zero if the first entity
/// has a fitness value greater than the second entity.
/// </returns>
Compares the two  objects based on their fitness values.
Compares the two objects based on their fitness values .
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1")]
            [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0")]
            public int Compare(GeneticEntity x, GeneticEntity y)
            {
                return x.GetFitnessValue(this.sortBasis).CompareTo(y.GetFitnessValue(this.sortBasis));
            }
[ System . Diagnostics . CodeAnalysis . SuppressMessage ( " " , " " , MessageId = " " ) ] [ System . Diagnostics . CodeAnalysis . SuppressMessage ( " " , " " , MessageId = " " ) ] public int Compare ( GeneticEntity x , GeneticEntity y ) { return x . GetFitnessValue ( this . sortBasis ) . CompareTo ( y . GetFitnessValue ( this . sortBasis ) ) ; }
Compares the two  objects based on their fitness values.
Compares the two objects based on their fitness values .
Zero if both entities have the same fitness values.  Less than zero if the first entity
has a fitness value less than the second entity.  Greater than zero if the first entity
has a fitness value greater than the second entity.
Zero if both entities have the same fitness values . Less than zero if the first entity has a fitness value less than the second entity . Greater than zero if the first entity has a fitness value greater than the second entity .
x
GeneticEntity
The first .
The first .
y
GeneticEntity
The second .
The second .