From 4d04b7daab665bf12edf5bf396074b02c3db92f2 Mon Sep 17 00:00:00 2001 From: SimpleArt <71458112+SimpleArt@users.noreply.github.com> Date: Sun, 22 Nov 2020 22:23:31 -0500 Subject: [PATCH] Small rename fix --- src/crossover/crossover_methods.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crossover/crossover_methods.py b/src/crossover/crossover_methods.py index 2f2c7a5..8ecc732 100644 --- a/src/crossover/crossover_methods.py +++ b/src/crossover/crossover_methods.py @@ -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.