9 lines
134 B
Python
9 lines
134 B
Python
import random
|
|
import EasyGA
|
|
|
|
# Create the Genetic algorithm
|
|
ga = EasyGA.GA()
|
|
|
|
print(ga.gene.get_fitness())
|
|
print(ga.gene.get_value())
|