Removed weird github thing with old implementation

Why
This commit is contained in:
RyleyGG
2020-10-04 14:35:19 -04:00
parent 7e587d48d0
commit 4b375659bb
2 changed files with 0 additions and 133 deletions

View File

@ -1,30 +1,10 @@
import EasyGA
<<<<<<< Updated upstream
=======
import random
>>>>>>> Stashed changes
# Create the Genetic algorithm
ga = EasyGA.GA()
<<<<<<< Updated upstream
#Creating a gene with no fitness
gene1 = ga.make_gene("Im a gene")
gene2 = ga.make_gene("Im also a gene")
#Creating a Chromosome with no genes
chromosome = ga.make_chromosome()
chromosome.add_gene(gene1)
chromosome.add_gene(gene2)
# Creating a populaiton
populaiton = ga.make_population()
populaiton.add_chromosome(chromosome)
print(gene1)
print(chromosome)
print(populaiton)
populaiton.print_all()
=======
ga.gene_impl = [random.randrange,1,10]
# Run Everyhting
@ -32,4 +12,3 @@ ga.evolve()
# Print the current population
ga.population.print_all()
>>>>>>> Stashed changes