Question: Q1 CSPs: Ghost House 7 Points The four Pacman ghosts are named Blinky (B), Pinky (P), Inky (I), and Clyde (C). When a game of

 Q1 CSPs: Ghost House 7 Points The four Pacman ghosts arenamed Blinky (B), Pinky (P), Inky (I), and Clyde (C). When agame of Pacman starts, the four ghosts need to choose their startingspots in the ghost house. We'll label the four starting spots 1,2,3,4.

Q1 CSPs: Ghost House 7 Points The four Pacman ghosts are named Blinky (B), Pinky (P), Inky (I), and Clyde (C). When a game of Pacman starts, the four ghosts need to choose their starting spots in the ghost house. We'll label the four starting spots 1,2,3,4. However, the ghosts have some preferences, so they introduce some constraints: - Each starting spot fits exactly one ghost. - B>P (Blinky would like a higher starting spot number than Pinky.) - BI=1 (Inky and Blinky would like to be next to each other.) - P=1 (Pinky doesn't want to be at the first spot.) We can formulate this problem as a CSP, where the ghosts (B,P,I,C) are variables, and the starting spots (1,2,3,4) are the values. 1 Point Regardless of your answer to the previous part, suppose we enforce unary constraints, and then choose to assign B first, with a value of 3 . Then, we run forward checking. What values are still in the domain of B ? What values are still in the domain of P ? Q1.4 1 Point What values are still in the domain of I ? What values are still in the domain of C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!