From 80ebe8ca0c9d627272e99e69c7facb039bc118db Mon Sep 17 00:00:00 2001 From: danielwilczak101 <44122838+danielwilczak101@users.noreply.github.com> Date: Thu, 1 Oct 2020 01:33:34 -0400 Subject: [PATCH] Comments --- src/EasyGA.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/EasyGA.py b/src/EasyGA.py index f506545..1ae5d60 100644 --- a/src/EasyGA.py +++ b/src/EasyGA.py @@ -84,14 +84,14 @@ class GA: # First get the fitness of the population self.get_population_fitness(self.population.chromosomes) # Selection - Triggers flags in the chromosome if its been selected - #self.selection_impl(self) + # self.selection_impl(self) # Crossover - Takes the flagged chromosomes and crosses there genetic # makup to make new offsprings. - #self.crossover_impl(self) + # self.crossover_impl(self) # Repopulate - Manipulates the population to some desired way - #self.repopulate_impl(self) + # self.repopulate_impl(self) # Mutation - Manipulates the population very slightly - #self.mutation_impl(self) + # self.mutation_impl(self) # Counter for the local number of generations in evolve_generation number_of_generations -= 1