Suppose a genetic algorithm uses chromosomes of the form x = abcdefgh with a fixed length...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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), and let the initial population consist of four individuals with the following chromosomes: x1 65413532 x2=87126601 x3 23921285 x4 41852094 a) Evaluate the fitness of each individual, showing all your workings, and arrange them in order with the fittest first and the least fit last. b) Perform the following crossover operations: i) ii) iii) Cross the fittest two individuals using one-point crossover at the middle point. Cross the second and third fittest individuals using a two-point crossover (points b and f). Cross the first and third fittest individuals (ranked 1st and 3rd) using a uniform crossover. 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), and let the initial population consist of four individuals with the following chromosomes: x1 65413532 x2=87126601 x3 23921285 x4 41852094 a) Evaluate the fitness of each individual, showing all your workings, and arrange them in order with the fittest first and the least fit last. b) Perform the following crossover operations: i) ii) iii) Cross the fittest two individuals using one-point crossover at the middle point. Cross the second and third fittest individuals using a two-point crossover (points b and f). Cross the first and third fittest individuals (ranked 1st and 3rd) using a uniform crossover.
Expert Answer:
Answer rating: 100% (QA)
a Fitness Evaluation and Ranking Individual Chromosome Calculation Fitness x1 65413532 65 41 3 532 55 45 100 x2 87126601 87 12 6 601 33 36 69 x3 23921285 23 92 1 285 25 30 55 x4 41852094 41 85 2 094 2... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
The site http://virtualpiano.net features an online player piano. If you click on the Key Assist menu just above the piano keyboard, and then Keyboard Keys, you will see that each key is labelled...
-
If a quantity is measured to be Q and its exact value is A, then the relative error in Q is If the exact value is A = 35 and you want the relative error in Q to be less than or equal to 0.02 (or 2%),...
-
Georgian College is considering the establishment of a $1 million endowment held in perpetuity for the chair of the Henry Bernick Entrepreneurship Centre. The ongoing cost would be $6500 at the end...
-
Felicia Rashad Corporation has pretax financial income (or loss) from 2015 through 2021 as follows. Pretax financial income (loss) and taxable income (loss) were the same for all years since Rashad...
-
Consider PowerBar, the strategy for which is summarized in the PowerBar case. What implications for the culture, structure, systems, and people would you suggest given the nature of the product and...
-
A. Richard McCarthy (born 2/14/64; Social Security number 100-10-9090) and Christine McCarthy (born 6/1/1966; Social security number 101-21-3434) have a 19-year-old son (born 10/2/99 Social Security...
-
The Williamson Corporation wants to help its employees save for retirement by allowing them to defer part of their compensation on a pretax basis that the company would match. The best option for...
-
In 2018, Pablo, who is not otherwise involved in the gas station business, spends $53,000 investigating the acquisition of a gas station. All costs are ordinary and necessary. Pablo acquires the gas...
-
This is the first step in developing a risk assessment and management policy. In developing your policy, consideration of risk appetite is critical. Identify the areas of financial and operational...
-
The balance sheet and income statement provide essential information to prepare the cash flow statement. The relationship between these two financial reports with the statement of cash flows may be...
-
Wee Works specializes in renting space to very small high tech start ups. It owns several properties in various cities in the US that are trying to attract start ups. Even though it is a bit outside...
-
The annual budget for Vasconcellos Manufactures for 2023 is the following: Direct Materials......$30,000 Direct Labor ($8 per hour; yeah, I'm cheap!)........120,000 Sales Commissions.....28,000...
-
From the reading above as well as other sources define all of the following at the level of a senior in a top University, and commit them to permanent memory: Capital, Capitalism, Money, Profit,...
-
Let f(z) = 1 + 2r +1. If we approximate f'(1) using CDF of order O(h?) using h = 1, then the approximation we %3D get is O a 2 O b. 3 O. 5 Od. 225 O e 2.75 Of 6
-
Find the radius of convergence of? 1.2.3 1.3.5 (2n-1) r2n+1 -1
-
According to Newton's law of cooling, the temperature T of a body at time t is given by T = Ta + (T0 Ta)ekt , where Ta is the ambient temperature, T0 is the initial temperature, and k is the cooling...
-
a. If a man tests negative, what is the probability that he actually has the disease? b. For many medical tests, it is standard procedure to repeat the test when a positive signal is given. If...
-
In the article "Occurrence and Distribution of Ammonium in Iowa Groundwater" (K. Schilling, Water Environment Research, 2002:177-186), ammonium concentrations (in mg/L) were measured at a large...
-
Example In January 2004, a Mars Exploration Rover touched down on the surface of Mars and rolled out for exploration ( Figure
-
A battery-operated wall clock no longer keeps timeneither hand moves. Develop a hypothesis explaining why it fails to work, and then make a prediction that permits you to test your hypothesis....
-
Does the snowflake have rotational symmetry in Figure 1.6? If yes, describe the ways in which the flake can be rotated without changing its appearance. Does it have reflection symmetry? If yes,...
Study smarter with the SolutionInn App