(self, size)
Sets the population size, calls setPopulationSize() of GPopulation

        :param size: the population size

        .. note:: the population size must be >= 2
Sets the population size, calls setPopulationSize() of GPopulation
Sets the population size calls setPopulationSize () of GPopulation
def setPopulationSize(self, size):
        """ Sets the population size, calls setPopulationSize() of GPopulation

        :param size: the population size

        .. note:: the population size must be >= 2

        """
        if size < 2:
            Util.raiseException("population size must be >= 2", ValueError)
        self.internalPop.setPopulationSize(size)
def setPopulationSize ( self , size ) : if size < 2 : Util . raiseException ( "population size must be >= 2" , ValueError ) self . internalPop . setPopulationSize ( size )