feurode46 / computational-intelligence-2022

All about the Computational Intelligence course - Master's Degree in Computer Engineering @ PoliTo
0 stars 0 forks source link

Lab #2 Review #3

Open rogierz opened 2 years ago

rogierz commented 2 years ago

Hello Federico, the following is my review of your code.

The implementation is good for small N, but on higher values, it yields a solution with high bloat. I have two questions for you:

feurode46 commented 2 years ago

Hi, and thanks for your review! I have in fact tried a variety of offspring and population sizes, however this specific choice of values yielded a bit better solution. In my code I compare individuals using the fitness tuple, which in Python means that the order of the values in the tuple functions as a priority (with equal coverage, compare total number of elements). I hope I solved your doubts :)