Question: 1 . 1 5 points You are given the 8 - queen problem. The queens have to be placed on a chess board in such
points You are given the queen problem. The queens have to be placed on a chess board in such a way than no queen can attack another, where a queen attacks any piece in the same row, column, or diagonal.
aDescribe a statespace representation for the problem, specifying the initial state, goal condition, and actions.
bWhat search algorithm would you use to solve the problem? Explain your choice.
points: Questions on search algorithms with different numbers of points:
apointsDoes Uniform Cost search expand more nodes than AWhy or why not
bpointsHow can hill climbing be prevented from wandering forever when it reaches a plateau?
cpointsYou are given the following heuristic for a TSP problem: for each city nhnis the distance to the closest city not yet visited. Is this heuristics admissible? Explain briefly your answer.
dpointsSpecify if depth limited search can find an optimal solution. If yes, under what conditions? if not, why not?
points
Answer the following questions about CSP problems and backtracking search. Justify briefly your answers:
aWhat is the AllDiff constraint? When would you use it
bWhen and why should the minimum remaining value heuristic be used?
cWhen and why should the degree heuristics be used?
dWhy the least constraining value heuristics is used to select the value of a variable?
points
Solve the the following cryptoarithmetic problem, finding a mapping from letters to digits, so that each letter is mapped to a different digit. Recall that the first digit in each number cannot be
THIS
IS
HERE
aWrite the constraint equations for the problem remember to use the carry when doing additions
bSolve the problem using backtracking search and, when possible the Minimum Remaining Value heuristics. Show the search tree to solve the problem.
points Extra Credit
You have to solve a CSP where you need to guarantee arcconsistency. An example is the line labeling problem shown here where edges connecting vertices need to have the same label. Which algorithm would you use? Why? Can you specify one or two examples of problems where you should use arc consistency?
points Extra Credit
You have to solve a CSP where you need to guarantee arcconsistency. An example is the line labeling problem shown here where edges connecting vertices need to have the same label. Which algorithm would you use? Why? Can you specify one or two examples of problems where you should use arc consistency? points Extra Credit
You have to solve a CSP where you need to guarantee arcconsistency. An example is the line labeling problem shown here where edges connecting vertices need to have the same label. Which algorithm would you use? Why? Can you specify one or two examples of problems where you should use arc consistency?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
