Changeset 1139 for framspy/evolalg/mutation_cross/frams_cross_and_mutate.py
- Timestamp:
- 05/08/21 12:42:58 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/mutation_cross/frams_cross_and_mutate.py
r1113 r1139 5 5 6 6 class FramsCrossAndMutate(FramsStep): 7 def __init__(self, frams_lib, cross_prob, mutate_prob, mutate_commands=None, cross_commands=None ):8 super().__init__(frams_lib )7 def __init__(self, frams_lib, cross_prob, mutate_prob, mutate_commands=None, cross_commands=None, *args, **kwargs): 8 super().__init__(frams_lib, *args, **kwargs) 9 9 10 10 self.cross_prob = cross_prob … … 15 15 16 16 def call(self, population): 17 super(FramsCrossAndMutate, self).call(population) 17 18 population = self.frams_cross(population) 18 19 population = self.frams_mutate(population)
Note: See TracChangeset
for help on using the changeset viewer.