# File lib/ai4r/genetic_algorithm/genetic_algorithm.rb, line 136 def best_chromosome the_best = @population[0] @population.each do |chromosome| the_best = chromosome if chromosome.fitness > the_best.fitness end return the_best end