Changeset 1139 for framspy/evolalg/selection/selection.py
- Timestamp:
- 05/08/21 12:42:58 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/selection/selection.py
r1113 r1139 6 6 7 7 class Selection(Step): 8 def __init__(self, copy=False): 8 def __init__(self, copy=False, *args, **kwargs): 9 super(Selection, self).__init__(*args, **kwargs) 9 10 self.copy = copy 10 11 … … 14 15 15 16 def call(self, population, count=None): 17 super(Selection, self).call(population) 16 18 res = [] 17 19 if count is None:
Note: See TracChangeset
for help on using the changeset viewer.