11 lines
158 B
Python
11 lines
158 B
Python
import EasyGA
|
|
|
|
#Create the Genetic Algorithm
|
|
ga = EasyGA.GA()
|
|
|
|
ga.evolve()
|
|
|
|
#Print your default genetic algorithm
|
|
ga.print_generation()
|
|
ga.print_population()
|