Added fitness function and changed evolve function

This commit is contained in:
danielwilczak101
2020-09-29 20:52:06 -04:00
parent 10b6a9b444
commit bd76e967ff
5 changed files with 18 additions and 10 deletions

View File

@ -18,6 +18,6 @@ def user_gene_domain(gene_index):
# If the user wants to use a domain
ga.chromosome_impl = user_gene_domain
ga.initialize_population()
ga.evolve()
ga.population.print_all()