示例#1
0
 /// <summary>
 /// Sorts the species by fitness of champion.
 /// </summary>
 public void SortSpeciesByChampionFitness()
 {
     Species.Sort((a, b) => a.Fitness.ChampionScore.CompareTo(b.Fitness.ChampionScore));
 }
示例#2
0
 /// <summary>
 /// Sorts the species by average fitness.
 /// </summary>
 public void SortSpeciesByAverageAdjustedFitness()
 {
     Species.Sort((a, b) => a.Fitness.AverageAdjustedScore.CompareTo(b.Fitness.AverageAdjustedScore));
 }