Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

table [ [ 1 , 2 , 3 ] , [ 4 , , ] , [ 5 , , ] ] Words: add,

\table[[1,2,3],[4,,],[5,,]] Words:
add, age, aid, aim, air, are, arm, art, bad, bat, bee, boa, dim, ear, eel, eft, lee, oaf 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 using 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,
{
,
,
...
,
}
. 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
, because there is no word starting with
.
(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. Q1. Exercise 1. Consider the crossword puzzle shown in Figure 4.14....
You need to answer the three questions of ONLY ONE representation, either (a),(b) & (c) OR (d),(e) & (f). In both (c) and (f) you need to explain why yes or not.
You do not need to answer question (g).
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

What is the purpose of the staffing practice called Two-in-aBox?

Answered: 1 week ago

Question

What would you do?

Answered: 1 week ago