Skip to content

Commit

Permalink
eaGenerateUpdate docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
imariasantos authored Nov 21, 2019
1 parent 454b4f6 commit 3ef3643
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deap/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,11 @@ def eaGenerateUpdate(toolbox, ngen, halloffame=None, stats=None,
evaluate(population)
toolbox.update(population)
This function expects :meth:`toolbox.generate` and :meth:`toolbox.evaluate` aliases to be
registered in the toolbox.
variation.
.. [Colette2010] Collette, Y., N. Hansen, G. Pujol, D. Salazar Aponte and
R. Le Riche (2010). On Object-Oriented Programming of Optimizers -
Examples in Scilab. In P. Breitkopf and R. F. Coelho, eds.:
Expand Down

0 comments on commit 3ef3643

Please sign in to comment.