Question: 1. Consider generation 0 of a simple genetic algorithm (GA) for finding the combination of binary values for variables ABCDE that yields the highest fitness

1. Consider generation 0 of a simple genetic algorithm (GA) for finding the combination of binary values for variables ABCDE that yields the highest fitness value. This generation is comprised of the following randomly selected individuals: Individual ID W X Y Z ABC Values 11001 01011 10100 00110 Fitness 3 4 2 1 a) Determine the fraction of the roulette wheel occupied by each individual. b) Assume that individuals W, X, Y, and Z are mapped to the roulette wheel in that order. Show the mating pool resulting from the random number sequence 0.2, 0.4, 0.5, and 0.8. c) Next, assume that the mating pool is used to create generation 1 as follows: i. The first and second individuals from the mating pool are selected for 1- point crossover, and the crossover point lies between genes A and B. ii. The third and fourth individuals from the mating pool are selected for 1- point crossover, the crossover point lies between genes C and D, and both offspring are selected for mutation at gene E. Show generation 1 resulting from these operations. 1. Consider generation 0 of a simple genetic algorithm (GA) for finding the combination of binary values for variables ABCDE that yields the highest fitness value. This generation is comprised of the following randomly selected individuals: Individual ID W X Y Z ABC Values 11001 01011 10100 00110 Fitness 3 4 2 1 a) Determine the fraction of the roulette wheel occupied by each individual. b) Assume that individuals W, X, Y, and Z are mapped to the roulette wheel in that order. Show the mating pool resulting from the random number sequence 0.2, 0.4, 0.5, and 0.8. c) Next, assume that the mating pool is used to create generation 1 as follows: i. The first and second individuals from the mating pool are selected for 1- point crossover, and the crossover point lies between genes A and B. ii. The third and fourth individuals from the mating pool are selected for 1- point crossover, the crossover point lies between genes C and D, and both offspring are selected for mutation at gene E. Show generation 1 resulting from these operations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
