Bases: EvolutionaryAlgorithm
[S
, R
]
-
create_initial_solutions() → List[S][source]
Creates the initial list of solutions of a metaheuristic.
-
evaluate(solution_list: List[S])[source]
Evaluates a solution list.
-
get_name() → str[source]
-
replacement(population: List[S], offspring_population: List[S]) → List[S][source]
Replace least-fit population with new individuals.
-
reproduction(population: List[S]) → List[S][source]
Breed new individuals through crossover and mutation operations to give birth to offspring.
-
result() → R[source]
-
selection(population: List[S]) → List[S][source]
Select the best-fit individuals for reproduction (parents).
-
stopping_condition_is_met() → bool[source]
The stopping condition is met or not.