Skip to content

Commit

Permalink
Update tournament description (DEAP#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmder authored Nov 10, 2017
1 parent 09b2562 commit cec5186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deap/tools/selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def selWorst(individuals, k, fit_attr="fitness"):


def selTournament(individuals, k, tournsize, fit_attr="fitness"):
"""Select *k* individuals from the input *individuals* using *k*
tournaments of *tournsize* individuals. The list returned contains
"""Select the best individual among *tournsize* randomly chosen
individuals, *k* times. The list returned contains
references to the input *individuals*.
:param individuals: A list of individuals to select from.
Expand Down

0 comments on commit cec5186

Please sign in to comment.