void UpdateBest() { for (int i = 1; i < population.Length; i++) { best = best.Better(population[i]); } }
Organism BestFromPopulation() { Organism best = population[0]; for (int i = 1; i < population.Length; i++) { best = best.Better(population[i]);// best = Organism.Better(best,population[i]); } return(best); }