# classA1 - EE4047 Genetic Algorithms and Their...

This preview shows pages 1–2. Sign up to view the full content.

EE4047 Genetic Algorithms and Their Applications (40 marks) Class Exercise 1 Name:____________________________ Student I.D.:__________________ Q1. Consider a population of chromosomes in a genetic algorithm for a maximization problem with their fitness values specified as below. Chromosome No. Chromosome Fitness Value 1 01011 10 2 01101 18 3 10010 12 4 11000 15 5 01100 5 (a) List all the order-1 schemata and compute their average fitness values based on the above table. [9 marks] ****0: 3 32 3 5 15 12 = + + ****1: 14 2 18 10 = + ***0*: 3 38 3 5 15 18 = + + ***1*: 11 2 12 10 = + **0**: 3 37 3 15 12 10 = + + **1**: 2 23 2 5 18 = + *0***: 12 *1***: 12 4 5 15 10 18 = + + + 0****: 11 3 5 10 18 = + + 1****: 2 27 2 15 12 = + (b) What is the probability that chromosomes 1 and 2 are being selected when applying roulette wheel selection twice? [3 marks] Total fitness: 10+18+12+15+5=60 Select 1 and 2: 10 1 60 18 * 60 10 60 18 * 60 10 = + (c) What is the probability that chromosomes 1 and 2 are being selected if two parents are randomly selected? [3 marks] 25 2 5 1 * 5 1 5 1 * 5 1 = + (d) Which one has a higher selection pressure, roulette wheel selection or random selection? Why? [3 marks]

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern