Major structural changes

This commit is contained in:
Daniel Wilczak
2020-09-23 16:46:59 -04:00
parent cd15a85b71
commit 2322a186e3
11 changed files with 24 additions and 28 deletions

View File

@ -4,6 +4,8 @@ import EasyGA
# Create the Genetic algorithm
ga = EasyGA.GA()
# Start the population
ga.initialize()
ga.population.chromosome[0].print_chromosome()
for chromosome in ga.population.chromosomes:
print(chromosome.genes[0].__dict__)