Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions