Population should not have an objective function object. Instead, Objective functions should have a calculate_fitness method that applies the fitness calculation to the population. Nothing is really changed since populations still maintain a fitness_calculated array.
Population should not have an objective function object. Instead, Objective functions should have a
calculate_fitnessmethod that applies the fitness calculation to the population. Nothing is really changed since populations still maintain afitness_calculatedarray.