(self, rate)
Sets the crossover rate, between 0.0 and 1.0

        :param rate: the rate, between 0.0 and 1.0
Sets the crossover rate, between 0.0 and 1.0
Sets the crossover rate between 0 . 0 and 1 . 0
def setCrossoverRate(self, rate):
        """ Sets the crossover rate, between 0.0 and 1.0

        :param rate: the rate, between 0.0 and 1.0

        """
        if (rate > 1.0) or (rate < 0.0):
            Util.raiseException("Crossover rate must be >= 0.0 and <= 1.0", ValueError)
        self.pCrossover = rate
def setCrossoverRate ( self , rate ) : if ( rate > 1.0 ) or ( rate < 0.0 ) : Util . raiseException ( "Crossover rate must be >= 0.0 and <= 1.0" , ValueError ) self . pCrossover = rate