DEAP / deap

Distributed Evolutionary Algorithms in Python
http://deap.readthedocs.org/
GNU Lesser General Public License v3.0
5.88k stars 1.13k forks source link

Question : varAnd #669

Open bbrangeo opened 2 years ago

bbrangeo commented 2 years ago

Hi,

in nsga2 we use :

Capture d’écran 2022-09-30 à 14 56 55

write like this => toolbox.mate(ind1, ind2), not return offspring ? I am wrong ?

However in nsga3

Capture d’écran 2022-09-30 à 15 00 59

algorithms.varAnd is good.

fmder commented 2 years ago

It does both, return and modify inplace.