A callback function that is called after each generation.
The current generation number.
The fitness scores of the current generation.
A callback function that is called after each generation.