Question: 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

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 survive

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!