pg.evolution.get_fitness¶ Accessible via pg.evolution.get_fitness. get_fitness(dna)[source]¶ Returns the fitness associated with a DNA. Return type: Union[float, Tuple[float]]