Small rename fix

This commit is contained in:
SimpleArt
2020-11-22 22:23:31 -05:00
parent b793c1d844
commit 4d04b7daab

View File

@ -41,7 +41,7 @@ class Crossover_Methods:
"""Methods for selecting chromosomes to crossover."""
@append_children_from_mating_pool
@append_children_to_next_population
def sequential_selection(ga, mating_pool):
"""Select sequential pairs from the mating pool.
Every parent is paired with the previous parent.
@ -56,7 +56,7 @@ class Crossover_Methods:
)
@append_children_from_mating_pool
@append_children_to_next_population
def random_selection(ga, mating_pool):
"""Select random pairs from the mating pool.
Every parent is paired with a random parent.