def __str__(self):
        s = 'Coevolution ('
        s += str(self._numSelected())
        if self.elitism:
            s += '+' + str(self.populationSize - self._numSelected())
        else:
            s += ',' + str(self.populationSize)
        s += ')'
        if self.parentChildAverage < 1:
            s += ' p_c_avg=' + str(self.parentChildAverage)
        return s
dataset/ETHPy150Open pybrain/pybrain/pybrain/optimization/populationbased/coevolution/coevolution.py/Coevolution.__str__/original