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