Sei sulla pagina 1di 6
0 15.9.3. Crossover (Recombination) that ie create: Cros a better offspring, vver iva recombination operator that proceeds in three steps: 1. The reproduction operator selects at random a pair of two individual strings for the matic 2. Act s site is selected at random along the string length, 3, Hinully, the position values are swapped between the two strings following the cross site. That is the simplest way how to do that is to choose randomly some crossover point and copY 68%. ; Sepa deo before this point from the first parent and then copy everything after the crossover point from t€ parent. The various crossover techniques ate discussed in the following subsections. yrs in Getic Ago 88 Parent | vortooro) Paret2 | 010 cnaarovorere Figure 15-22 Single point crossce. 1593.1 Single-Point Crossover ‘The cational genetic algorithm uses single-poine crossover, where the wo mating chromosomes are cut neat cnresponng points and the sections afer the cuts exchanged. Here, is sdeted randomly along the length of che mated stings and bits nest to 1 appropri seis chosen, beer children can be obtained by combining ampers sting quality, Figure 15.22 illustrates single-point crossover and it can be observed thatthe bits next tothe erosover point re echanged 0 produce chiklen, The crosover point canbe chosen randomly, 1893.2 Two-Point Crossover Anat fom single-point crossover, many diferen croxover algorithms have been devised, often involving sre han one cut point. Ir shouldbe noted tat adding Further crossover poins reduces the performance of the GA. The problem with ang additional crossover points is tha building blocks are more ily to be

Potrebbero piacerti anche