Home / Expert Answers / Computer Science / 3-constraint-satisfaction-i-20-points-total-consider-a-constraint-satisfaction-problem-where-th-pa588

(Solved): 3. Constraint Satisfaction I ( 20 points total) Consider a constraint satisfaction problem where th ...




student submitted image, transcription available below
3. Constraint Satisfaction I ( 20 points total) Consider a constraint satisfaction problem where there are four variables A, B, C, and D. , and each have domain , whereas 's domain is . There are three constraints: , and . (a) Show how backtracking can be used to solve this problem. To select variables, use the most constrained variable heuristic, breaking ties using the most constraining variable heuristic. If ties still exist, break them alphabetically. To select values, use the least constraining value heuristic. Indicate the first 30 branches visited in the search tree (or stop when the solution is reached). Write them in text form with each branch on one line. (b) Show how forward checking can be used to solve this problem. To select variables, use the most constrained variable heuristic, breaking ties using the most constraining variable heuristic. If ties still exist, break them alphabetically. To select values, use the least constraining value heuristic. Indicate the first 30 branches visited in the search tree (or stop when the solution is reached). 4. Constraint Satisfaction II (10 points total) (a) Explain why it is a good heuristic for a constraint satisfaction search to choose the variable that is most constrained. (b) Explain why it is a good heuristic for a constraint satisfaction search to choose the value that is least constraining. 5. Problem Encoding ( 20 points total) Consider a clique on nodes. (A clique is a graph with an edge between each pair of nodes.) To color the graph, one must assign a color from a given set of colors to each of the nodes in the graph such that any two nodes connected by an edge have different colors. Consider coloring the clique using a set of colors. Give the CSP formulation of the problem. Use variables, where variable is true if and only if node is colored with color . Each clause (or set of clauses) you encode should be accompanied by an English description.


We have an Answer from Expert

View Expert Answer

Expert Answer



We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe