Question: Solving CSPs: In a combined 3rd and 5th grade class, students can be 8, 9, 10, and 11 years old. We are trying to solve

Solving CSPs:

In a combined 3rd and 5th grade class, students can be 8, 9, 10, and 11 years old. We are trying to solve for the ages of Ann, Bob, Claire, and Doug (abbreviations: A, B, C, D). Consider the following constraints:

No students is older in years than Clair (but may be the same age)

Bob is two years older than Ann

Bob is younger in years than Doug. Complete the following questions:

3. (9 pts) Assuming all ages {8, 9, 10, 11} are possible for each student before running arc consistency, manually run arc consistency on only arc from A to B.

(a) What values on A remain viable after this operation?

(b) What values on B remain viable after this operation?

(c) Assuming there are no arcs left in the list of arcs to be processed, which arc(s) would be added to the queue for processing after this operation?

4. (8 pts) Suppose we enforce arc consistency on all arcs. What ages remain in each persons domain?

PLEASE HELP AND ANSWER #3 (#4 would also be helpful)


Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem well use the concept of arc consistency in constraint satisfaction problems CSP Arc consistency involves ensuring that for every ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!