ef evolve(int numGenerations)


Performs the genetic algorithm on the Grow interface it has access to. In the checkers case, this Grow interface is implemented with EvaluationFunction. It evolves as many generations of creatures as are requested by numGenerations. It returns the best creature it arrives within these generations.