Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Do it asap Q4. [40 marks] Consider a GA with chromosomes consisting of six genes xi = abcdef, and each gene is a number between
Do it asap
Q4. [40 marks] Consider a GA with chromosomes consisting of six genes xi = abcdef, and each gene is a number between 0 and 9. Suppose we have the following population of four chromosomes: x1 =43 5216 x3 = 2 48012 X2=1739 6 5 X4 = 9 081 2 3 and let the fitness function be f(x) = (a + b + c) (d + e +) a. [8 marks] Sort the chromosomes by their fitness. b. [12 marks] Do one-point crossover in the middle between the 1st and 2nd fittest, and two-points crossover (points 3, 5) for the 2nd and 3rd. c. [8 marks] Calculate the fitness of all the offspring. d. [12 marks] What will be the next population if the overall best individuals from the current population and the offspring would surviveStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started