Closed seallard closed 4 years ago
def get_average_fitness(self): total_fitness = self.get_total_fitness() return total_fitness/len(self.genomes)
This is due to no genome being assigned to the species. The species leader is a separate attribute and is not necessarily represented in the species list of genomes.