You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The selection functions currently only handle populations of 20 or 50. This is because the probability for each rank is hard-coded. Create a function that will come up with reasonable selection based on rank for any population size.
In the GeneticAlgorithmPairing .cpp and .h, look for selectIndex20 and selectIndex50 as well as BreedPopChance20 and BreedPopChance50.
The text was updated successfully, but these errors were encountered:
The selection functions currently only handle populations of 20 or 50. This is because the probability for each rank is hard-coded. Create a function that will come up with reasonable selection based on rank for any population size.
In the GeneticAlgorithmPairing .cpp and .h, look for
selectIndex20
andselectIndex50
as well asBreedPopChance20
andBreedPopChance50
.The text was updated successfully, but these errors were encountered: