Changeset 1139 for framspy/evolalg/selection/tournament.py
- Timestamp:
- 05/08/21 12:42:58 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/selection/tournament.py
r1113 r1139 8 8 9 9 class TournamentSelection(Selection): 10 def __init__(self, tournament_size: int, fit_attr="fitness", copy=False ):11 super(TournamentSelection, self).__init__(copy )10 def __init__(self, tournament_size: int, fit_attr="fitness", copy=False, *args, **kwargs): 11 super(TournamentSelection, self).__init__(copy, *args, **kwargs) 12 12 self.tournament_size = tournament_size 13 13 self.fit_attr = fit_attr
Note: See TracChangeset
for help on using the changeset viewer.