JJ / 2020-WCCI-variable-attack-surface

Paper on optimal nginx configuration for generating variable attack surfaces
GNU General Public License v3.0
3 stars 1 forks source link

Change to fitness-proportional selection #10

Closed JJ closed 4 years ago

JJ commented 4 years ago

Check out this function

https://github.com/JJ/2020-WCCI-variable-attack-surface/blob/master/code/genetic.py#L95-L145

And change it to have fitness proportional selection, instead of the actual, which has the same probability of selection irrespective of fitness.