def Clear(self): Algorithm.Clear(self) self.population = [] self.iterWithoutChange = 0 self.candidate = None