Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d1d3530d authored by VIDEAU Mathurin's avatar VIDEAU Mathurin
Browse files

Update algorithms.py

parent 775ac44b
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ def eaMuPlusLambdaUCB(population, toolbox, simulation_budget, parallel_update, m ...@@ -54,7 +54,7 @@ def eaMuPlusLambdaUCB(population, toolbox, simulation_budget, parallel_update, m
# Begin the generational process # Begin the generational process
for gen in range(1, ngen + 1): for gen in range(1, ngen + 1):
if budget_scheduler is not None: if budget_scheduler is not None:
simulation_budget, parallel_update = budget_scheduler(ngen, population, simulation_budget, parallel_update) simulation_budget, parallel_update = budget_scheduler(gen, population, simulation_budget, parallel_update)
# Vary the population # Vary the population
offspring = algorithms.varOr(population, toolbox, lambda_, cxpb, mutpb) offspring = algorithms.varOr(population, toolbox, lambda_, cxpb, mutpb)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment