Consider the following logic puzzle: In five houses, each with a different color, live 5 persons of

Question:

Consider the following logic puzzle: In five houses, each with a different color, live 5 persons of different nationalities, each of whom prefer a different brand of cigarette, a different drink, and a different pet. Given the following facts, the question to answer is “Where does the zebra live, and in which house do they drink water?” The Englishman lives in the red house. The Spaniard owns the dog. The Norwegian lives in the first house on the left. Kools are smoked in the yellow house. The man who smokes Chesterfields lives in the house next to the man with the fox. The Norwegian lives next to the blue house. The Winston smoker owns snails. The Lucky Strike smoker drinks orange juice. The Ukrainian drinks tea. The Japanese smokes Parliaments. Kools are smoked in the house next to the house where the horse is kept. Coffee is drunk in the green house. The Green house is immediately to the right (your right) of the ivory house. Milk is drunk in the middle house. Discuss different representations of this problem as a CSP. Why would one prefer one representation over another?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Artificial Intelligence A Modern Approach

ISBN: 978-0137903955

2nd Edition

Authors: Stuart J. Russell and Peter Norvig

Question Posted: