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, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
What questions about an audience should be asked during presentation preparation? check all that apply. what does the audience already know about the topic? how will multimedia tools inspire the audience? is the information interesting and engaging? how will this information affect the presentation? will the audience change the message’s purpose? what is likely to interest the audience?
Answers: 3
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
Business, 21.08.2020 01:01