MCluck90 / genetic-ai

Assignment for CS 4470
0 stars 0 forks source link

Fitness Proportionate Selection #3

Closed JonHolt closed 8 years ago

JonHolt commented 8 years ago

Probability of being chosen is determined by individual fitness relative to best fitness.

JonHolt commented 8 years ago

I have it to where somewhere between 25% and 50% of the population is being "selected" based on fitness. However when the "most fit" hypothesis is almost at the threshold it still sometimes commits genocide.

JonHolt commented 8 years ago

Also if most fit is nowhere near close everyone gets selected. I will redo this to fix it.