subject

(30 points) We would like to use a genetic algorithm to solve the 8-Queens problem. Remember, this problem asks you to place 8 queens on an 8 x 8 chessboard such that no two queens can attack each other (i. e., share the same row, column, or diagonal). a)Propose a chromosome representation (i. e., a state representation) such that the string contains only numbers 1 through 8 and the state is valid. A valid state is one in which there is exactly one queen per column and one queen per row. Explain why your representation only encodes valid states. b)Propose a crossover operator that ensures that child states are valid and explain why your operator would help generate good results over other operators. Show (i. e., draw) an example of your crossover operator on two parent states to produce two child states.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
The word ‘play’ comes with many different interpretations and a variety of definitions. discuss some of the various meanings tied to the word play. why is the concept of play thought to be an important addition to the workplace? do some (brief) research online and give an example of how play in the workplace is being done right.
Answers: 2
question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
You know the right answer?
(30 points) We would like to use a genetic algorithm to solve the 8-Queens problem. Remember, this p...
Questions
question
English, 24.02.2021 14:00
question
Mathematics, 24.02.2021 14:00
question
Mathematics, 24.02.2021 14:00
question
Engineering, 24.02.2021 14:00
question
Computers and Technology, 24.02.2021 14:00
Questions on the website: 13722367