I read the tutorial on TutorialsPoint and this question and answer on StackOverflow. However, I still do not understand the meaning of Crossover Probability in the Parent Selection and Crossover process of a genetic algorithm.
Say I have a population of size 100 and the crossover probability is 0.9. What does it mean? Do I:
- select precisely 10 parents (since 90 % of offsprings shall be made by crossover), or
- run a RNG 100 times and for each time the 0.9 probability fails, I select a parent?
Then, the parents are somehow crossed over and some individuals mutate. Does the population need to have exactly 100 members at this point, or there is an additional selection of which individuals make it to the next generation?