DEAP / deap

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

Question : varAnd #669

Open bbrangeo opened 1 year ago

bbrangeo commented 1 year 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 1 year ago

It does both, return and modify inplace.