Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question : Suppose a genetic algorithm uses chromosomes of the form x= abcdefgh with a fixed length of eight genes. Each gene can be a
Question :
Suppose a genetic algorithm uses chromosomes of the form x= abcdefgh with a fixed length of eight genes. Each gene can be a 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 four individuals with following chromosomes:
X1= 6 5 4 1 3 5 3 2
X2= 8 7 1 2 6 6 0 1
X3= 2 3 9 2 1 2 8 5
X4= 4 1 8 5 2 0 9 4
- Evaluate the fitness of each individual, showing all your workings, and arrange them in order with fittest first and least fit last.
- Cross the fittest two individuals using one-point crossover at the middle point.
- Cross the second and third fittest individual using a two-point crossover.
- Cross the first and third fittest individuals (ranked 1st and 3rd) using uniform point crossover. Note : HandWritten
Step 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