Computers and Technology

(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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:30, dreyes439
You are almost finished updating a web site. as part of the update, you have converted all pages from html 4.0 to html5. the project is currently on schedule. however, your project manager has been asked by the marketing team manager to justify a day of time spent validating the site's html5 pages. the marketing team manager does not have technical knowledge of the internet or the web. which is the most appropriate explanation to provide to the marketing team manager?
Answers: 1
image
Computers and Technology, 22.06.2019 22:30, Metlife
You are new to microsoft certification and want to start out by getting a certification geared around windows 8. what microsoft certification should you pursue?
Answers: 1
image
Computers and Technology, 23.06.2019 07:00, bskyeb14579
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
image
Computers and Technology, 23.06.2019 12:00, daelinrobinson
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
Do you know the correct answer?
(30 points) We would like to use a genetic algorithm to solve the 8-Queens problem. Remember, this p...

Questions in other subjects:

Konu
Mathematics, 28.02.2021 09:00
Konu
Mathematics, 28.02.2021 09:00