Changeset 1139 for framspy/evolalg/mutation_cross/frams_mutation.py
- Timestamp:
- 05/08/21 12:42:58 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/mutation_cross/frams_mutation.py
r1113 r1139 6 6 7 7 class FramsMutation(FramsStep): 8 def __init__(self, frams_lib, commands, mutate_prob ):9 super().__init__(frams_lib, commands )8 def __init__(self, frams_lib, commands, mutate_prob, *args, **kwargs): 9 super().__init__(frams_lib, commands, *args, **kwargs) 10 10 self.mutate_prob = mutate_prob 11 11 12 12 def call(self, population): 13 super(FramsMutation, self).call(population) 13 14 idx = [] 14 15 for i in range(len(population)):
Note: See TracChangeset
for help on using the changeset viewer.