Skip to content

Commit

Permalink
eaMuCommaLambda documentation fix
Browse files Browse the repository at this point in the history
The description for eaMuCommaLambda described a selection between both offspring and population, mistakenly. Fixed to only offspring (and double checked that the implementation indeed selects from only the offspring)
  • Loading branch information
arielbro committed Oct 6, 2015
1 parent 3046126 commit 31dccb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deap/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def eaMuCommaLambda(population, toolbox, mu, lambda_, cxpb, mutpb, ngen,
the evolutionary loop begins by producing *lambda_* offspring from the
population, the offspring are generated by the :func:`varOr` function. The
offspring are then evaluated and the next generation population is
selected from both the offspring **and** the population. Finally, when
selected from **only** the offspring. Finally, when
*ngen* generations are done, the algorithm returns a tuple with the final
population and a :class:`~deap.tools.Logbook` of the evolution.
Expand Down

0 comments on commit 31dccb1

Please sign in to comment.