1. Consider the crossword puzzle shown in Figure 4.14. You must find six three-letter words: three words read across (1-across, 4-across, 5-across) and three words
1. Consider the crossword puzzle shown in Figure 4.14.
You must find six three-letter words: three words read across (1-across, 4-across, 5-across)
and three words read down (1-down, 2-down, 3-down). Each word must be chosen from the list of 18 possible words shown. Try to solve it yourself, first by intuition, then by hand using first domain consistency and then arc consistency.
There are at least two ways to represent the crossword puzzle shown in Figure 4.14 as a constraint satisfaction problem.
The first is to represent the word positions (1-across, 4-across, etc.) as variables, with the set of words as possible values. The constraints are that the letter is the same where the words intersect.
The second is to represent the nine squares as variables. The domain of each variable is the set of letters of the alphabet, {a,
b, …, z}. The constraints are that there is a word in the word list that contains the corresponding letters. For example, the top-left square and the center-top square cannot both have the value
a, because there is no word starting with aa.
(a) Give an example of pruning due to domain consistency using the first representation (if one exists).
(b) Give an example of pruning due to arc consistency using the first representation (if one exists).
(c) Are domain consistency plus arc consistency adequate to solve this problem using the first representation? Explain.
(d) Give an example of pruning due to domain consistency using the second representation (if one exists).
(e) Give an example of pruning due to arc consistency using the second representation (if one exists).
(f) Are domain consistency plus arc consistency adequate to solve this problem using the second representation?
(g) Which representation leads to a more efficient solution using consistency-based techniques? Give the evidence on which you are basing your answer.
Step by Step Solution
There are 3 Steps involved in it
Step: 1

Get step-by-step solutions from verified subject matter experts
100% Satisfaction Guaranteed-or Get a Refund!
Step: 2Unlock detailed examples and clear explanations to master concepts

Step: 3Unlock to practice, ask and learn with real-world examples

See step-by-step solutions with expert insights and AI powered tools for academic success
-
Access 30 Million+ textbook solutions.
-
Ask unlimited questions from AI Tutors.
-
Order free textbooks.
-
100% Satisfaction Guaranteed-or Get a Refund!
Claim Your Hoodie Now!

Study Smart with AI Flashcards
Access a vast library of flashcards, create your own, and experience a game-changing transformation in how you learn and retain knowledge
Explore Flashcards