-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
What the args dict should look like:
args = {
'genome': (g1, g2, ...),
'selection': [(s11, s12, ...), ..., (sN1, sN2, ...)],
'crossover': [(c11, c12, ...), ..., (cM1, cM2, ...)]
}
Where:
- g1, g2, etc., are args for the genome_generator func;
- s11, s12, etc., are args for the 1st selection operator passed in the selection_operators list of func and sN1, sN2, etc., are args of the Nth selection operator;
- c11, c12, etc., are args for the 1st crossover operator passed in the crossover_operators list of func and cM1, cM2, etc., are args of the Mth crossover operator.
Let's create a class for that to enforce this format inside the GeneticAlgorithm.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers