1- Suppose a genetic algorithm uses chromosomes of the form X = abcdefgh with a fixed length of eight genes. Each gene can be any digit between 0 and 9. Let the fitness of individual X be calculated as: f(X) = (a + b)(c+d) + (e+f) - (g+h) Let the initial population consist of 6 following chromosomes: X1 65413532 X2=87126601 I. II. III. X3=239 21285 X4 4 185 2094 X5 83 93 1775 X6=52769863 Evaluate the fitness of each individual (show all stages). Then select 4 of them for next generation and write chromosomes which are selected. (Consider maximization.) Perform the following crossover operation on the initial population: Do crossover on X2 and X6 (parents) and name offspring as X7 and X8. Consider one-point crossover and the crossover point between "c" and "d". Write chromosomes X7 and X8. Evaluate offspring generated by crossover operation above (Chromosomes X7 and X8). Do their fitness are better than their parents?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
1- Suppose a genetic algorithm uses chromosomes of the form X = abcdefgh with a fixed length of
eight genes. Each gene can be any digit between 0 and 9. Let the fitness of individual X be
calculated as:
f(X) = (a + b)-(c+d) + (e+f) - (g+h)
Let the initial population consist of 6 following chromosomes:
I.
II.
III.
X1 65413532
X2=87126601
X3=23921285
X4 418 52094
X5 83 931775
X6=52769863
Evaluate the fitness of each individual (show all stages). Then select 4 of them for next
generation and write chromosomes which are selected. (Consider maximization.)
Perform the following crossover operation on the initial population: Do crossover on X2
and X6 (parents) and name offspring as X7 and X8. Consider one-point crossover and
the crossover point between "c" and "d". Write chromosomes X7 and X8.
Evaluate offspring generated by crossover operation above (Chromosomes X7 and X8).
Do their fitness are better than their parents?
Transcribed Image Text:1- Suppose a genetic algorithm uses chromosomes of the form X = abcdefgh with a fixed length of eight genes. Each gene can be any digit between 0 and 9. Let the fitness of individual X be calculated as: f(X) = (a + b)-(c+d) + (e+f) - (g+h) Let the initial population consist of 6 following chromosomes: I. II. III. X1 65413532 X2=87126601 X3=23921285 X4 418 52094 X5 83 931775 X6=52769863 Evaluate the fitness of each individual (show all stages). Then select 4 of them for next generation and write chromosomes which are selected. (Consider maximization.) Perform the following crossover operation on the initial population: Do crossover on X2 and X6 (parents) and name offspring as X7 and X8. Consider one-point crossover and the crossover point between "c" and "d". Write chromosomes X7 and X8. Evaluate offspring generated by crossover operation above (Chromosomes X7 and X8). Do their fitness are better than their parents?
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY