comment fix

This commit is contained in:
Daniel Wilczak
2020-09-21 15:33:52 -04:00
parent 2c6d906935
commit 7e4e6ef0f5

View File

@ -49,6 +49,7 @@ ga.population.chromosomes[0].genes[0].print_value()
my_chromosome = ga.population.chromosomes[0] my_chromosome = ga.population.chromosomes[0]
print(f"my_chromosome: {my_chromosome.get_chromosome()}") print(f"my_chromosome: {my_chromosome.get_chromosome()}")
print(f"my_chromosome fitness: {my_chromosome.get_fitness()}") print(f"my_chromosome fitness: {my_chromosome.get_fitness()}")
# Looking to get the data of one gene in the chromosome # Looking to get the data of one gene in the chromosome
my_gene = ga.population.chromosomes[0].genes[0] my_gene = ga.population.chromosomes[0].genes[0]
print(f"my_gene: {my_gene.get_value()}") print(f"my_gene: {my_gene.get_value()}")