11.1.12. rheia.OPT.genetic_algorithms.NSGA2.nsga2_1iter
- NSGA2.nsga2_1iter(current_pop)
Run one iteration of the NSGA-II optimizer. Based on the crossover and mutation probabilities, the offsprings are created and evaluated. Based on the fitness of these offsprings and of the current population, a new population is created.
- Parameters
current_pop (list) – The initial population.
- Returns
new_pop – The updated population.
- Return type
list