If the algorithm has terminated due to a maximum number of generations , a satisfactory will not necessarily have been obtained .
If the algorithm has terminated due to a maximum number of generations , a satisfactory solution may or may not have been reached .