@property<EOL><INDENT>def fitness(self):<DEDENT>
if len(self.__members) != <NUM_LIT:0>:<EOL><INDENT>if self.__num_processes > <NUM_LIT:1>:<EOL><INDENT>members = [m.get() for m in self.__members]<EOL><DEDENT>else:<EOL><INDENT>members = self.__members<EOL><DEDENT>return sum(m.fitness_score for m in members) / len(members)<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Population fitness == average member fitness score