Doubled mutation rate. To solve default fitness function.

This commit is contained in:
danielwilczak101
2020-11-12 18:37:43 -05:00
parent aa677a1d81
commit 6e34020298
2 changed files with 6 additions and 4 deletions

View File

@ -7,8 +7,10 @@ ga = EasyGA.GA()
# Create 25 chromosomes each with 10 genes and 200 generations
ga.population_size = 100
ga.chromosome_length = 10
ga.generation_goal = 150
ga.generation_goal = 1000
ga.evolve()
ga.graph.generation_total_fitness()
ga.print_population()
ga.graph.highest_value_chromosome()