10 lines
142 B
Python
10 lines
142 B
Python
import random
|
|
import EasyGA
|
|
|
|
# Create the Genetic algorithm
|
|
ga = EasyGA.GA()
|
|
|
|
ga.initialize()
|
|
|
|
ga.population.chromosome[0].print_chromosome()
|