darfix.tests.test_ga#
Functions
|
|
Tests the crossover method when the length of the population is even. |
|
Tests the crossover method when the length of the population is odd. |
|
|
Tests correct shape of the chromosomes after fit. |
|
Tests the correct length of the score after fit. |
|
Tests the fitness method. |
|
Tests the generate method. |
|
Tests the initialize method. |
|
Tests the mutate method. |
|
Tests the select method. |
Tests the genetic algorithm with a given optimal_shift of 0 and no normal distribution. |