(self)
return self.nGenerations
Return the number of generations to evolve

        :rtype: the number of generations

        .. versionadded:: 0.6
           Added the *getGenerations* method
Return the number of generations to evolve
Return the number of generations to evolve
def getGenerations(self):
        """ Return the number of generations to evolve

        :rtype: the number of generations

        .. versionadded:: 0.6
           Added the *getGenerations* method
        """
        return self.nGenerations
def getGenerations ( self ) : return self . nGenerations