Download presentation
Presentation is loading. Please wait.
Published byRikke Eriksen Modified over 5 years ago
1
Thoughts Concerning the King+Rook_vs_Rook Problem
The task is to solve the problem at hand Hill-Climbing, Randomized Hill Climbing, Backtracking, Best-first Search,… all seem to be suitable search strategies for the problem Find “good” evaluation functions” (e.g. f(pos)=king_close_w_king(pos)*a + king_close_to_rook(pos)*b + c*1/Freedom_black_king(pos)) for one of the available search strategies Rapid prototyping is strongly recommended; also don’t make things too complicated at the beginning Try to learn from sample runs Idea: break the problem into sub-problems and solve each sub-problem separately. Idea: Reduce the search space by disallowing certain moves Idea: Use look-ahead when you use backtracking or hill climbing You are allowed to take advantage of the face that “you know in advance how the black king moves”. It is okay if you implement a game-style system but you should be aware of the fact that you are trying to solve a more complicated problem which makes it much harder to get your system running. “Complex” search strategies are frequently hard to debug/improve.
2
Thoughts Concerning the King+Rook_vs_Rook Problem (cont.)
Instead of looking to all possible positions sample some of those to reduce the complexity of the search Checking for duplicate states might or might not help (this answer is dependent on the employed search strategy) Disjunctive goals in search create problems Taking advantage of symmetry is complicated, but might help! You will receive a file consisting of 12 additional test cases no later than February 21, There will be also a demo where your program will be run for 10 test cases that are somewhat similar to the ten training test cases. Test cases will be sorted by difficulty; if you program cannot solve all the test problems this is not the end of the world; however, if it is not able to solve the “simple” cases you will not get a good grade for project. The primary goal is to checkmate the black king; however, programs that find shorter solutions will get higher scores. The project will be graded evaluating your report, the quality of the designed program, and the programs performance for the training and test set. Program performance for test cases will count at least 55% for the overall grade.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.