def performance_measure(self, x): """ Apply the fitness function to individual x :param x: individual :return performance: fitness of x """ # "calculate performance measure" performance = x.evaluate() # TODO: collect all the inputs generated in this run Exploration.add_explored(x.member) return performance