Comments
This commit is contained in:
@ -84,14 +84,14 @@ class GA:
|
|||||||
# First get the fitness of the population
|
# First get the fitness of the population
|
||||||
self.get_population_fitness(self.population.chromosomes)
|
self.get_population_fitness(self.population.chromosomes)
|
||||||
# Selection - Triggers flags in the chromosome if its been selected
|
# 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
|
# Crossover - Takes the flagged chromosomes and crosses there genetic
|
||||||
# makup to make new offsprings.
|
# makup to make new offsprings.
|
||||||
#self.crossover_impl(self)
|
# self.crossover_impl(self)
|
||||||
# Repopulate - Manipulates the population to some desired way
|
# Repopulate - Manipulates the population to some desired way
|
||||||
#self.repopulate_impl(self)
|
# self.repopulate_impl(self)
|
||||||
# Mutation - Manipulates the population very slightly
|
# Mutation - Manipulates the population very slightly
|
||||||
#self.mutation_impl(self)
|
# self.mutation_impl(self)
|
||||||
|
|
||||||
# Counter for the local number of generations in evolve_generation
|
# Counter for the local number of generations in evolve_generation
|
||||||
number_of_generations -= 1
|
number_of_generations -= 1
|
||||||
|
|||||||
Reference in New Issue
Block a user