Question: Question 6: CLO-3 (8 pts) (Genetic Algorithm) Using genetic algorithm maximize f(x) = x2 over {0, 1, 2, ...... 31} with initial x values of

Question 6: CLO-3 (8 pts) (Genetic Algorithm) Using genetic algorithm maximize f(x) = x2 over {0, 1, 2, ...... 31} with initial x values of (13, 24, 8, 16). Show one crossover operation. Use crossover point as {4,4,2,2). Calculate the f(x), and f before and after the crossover. String. No. X-value f(x) = x? P select i Innitial Population Expected count Actual count from Roulette Wheel fi/Ef fi/f 1 2 3 4 f(x) = P select i x-value f(x) = x? Mating pool Crossover after point (as reproduction given above) New Populationi fi/ES f(x) =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
