Question: Given the function f ( x 1 , x 2 ) = x 1 + x 1 x 2 of the two parameters x 1

Given the function f(x1, x2)= x1+ x1x2 of the two parameters x1 and x2,
1. Calculate the fitness of the two binary string representations (011010,110011). Knowing
that each parameter is represented by three bits.
2. Perform crossover on the two chromosomes after the 4th bit from the left. Calculate the
new fitness of the resulting chromosomes.
3. If we are minimizing f(x1, x2), is there an overall improvement? How do you measure
the improvement? You may show a curve of convergence.

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 Programming Questions!