pg.evolution.set_fitness¶ Accessible via pg.evolution.set_fitness. set_fitness(dna, fitness)[source]¶ Set the evaluated fitness to a DNA and return itself. Return type: pg.DNA