Mating:
Therefore once our GA agent has chosen the individuals lucky sufficient as actually there fit enough to produce offspring then we next determine how they are going to mate with each other. Conversely to do this, pairs are simply chosen randomly from the set of potential parents. Hence here is, one individual is chosen randomly then another - that may be the same as the first - is chosen plus that pair is lined up for the reproduction of one or more offspring where dependent on the recombination techniques used. So then where or not they actually reproduce is probabilistic or occurs by a probability pc. Whether they do reproduce means then their offspring are generated utilizsing a recombination and mutation procedure as described below, and these offspring are added to the next generation.