8000 Replace callback_generation by on_generation · evdcush/GeneticAlgorithmPython@c3cdfaf · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit c3cdfaf

Browse files
authored
Replace callback_generation by on_generation
The parametetr on_generation is used instead of callback_generation.
1 parent f74ab9e commit c3cdfaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ ga_instance = pygad.GA(num_generations=num_generations,
219219
crossover_type=crossover_type,
220220
mutation_type=mutation_type,
221221
mutation_percent_genes=mutation_percent_genes,
222-
callback_generation=callback_generation)
222+
on_generation=callback_generation)
223223

224224
# Running the GA to optimize the parameters of the function.
225225
ga_instance.run()

0 commit comments

Comments
 (0)
0