(self, numreplace)
Set the number of best individuals to copy to the next generation on the elitism

        :param numreplace: the number of individuals

        .. versionadded:: 0.6
           The *setElitismReplacement* method.
Set the number of best individuals to copy to the next generation on the elitism
Set the number of best individuals to copy to the next generation on the elitism
def setElitismReplacement(self, numreplace):
        """ Set the number of best individuals to copy to the next generation on the elitism

        :param numreplace: the number of individuals

        .. versionadded:: 0.6
           The *setElitismReplacement* method.

        """
        if numreplace < 1:
            Util.raiseException("Replacement number must be >= 1", ValueError)
        self.nElitismReplacement = numreplace
def setElitismReplacement ( self , numreplace ) : if numreplace < 1 : Util . raiseException ( "Replacement number must be >= 1" , ValueError ) self . nElitismReplacement = numreplace