Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part B. Monkey and Bananas problem One of the standard Al toy search problems is the monkey and bananas problem. The variation of this problem
Part B. Monkey and Bananas problem One of the standard Al toy search problems is the monkey and bananas problem. The variation of this problem that we will use is: A monkey is in a room containing a bunch of bananas and a wooden box. The bananas are hanging from the ceiling out of the monkey's reach, but he can reach them if he stands on the box. Unfortunately (for the monkey) the monkey, box, and bananas are all in different places in the room. What does the monkey have to do to get the bananas? 1. Formalize this problem using a state space representation, designed for a forward search (initial to goal states). A state space representation formalizes a problem in terms of the following elements: 1. a description of how states will be represented and what legal states are; 2. a description of the initial state(s); 3. a description of the goal state(s); and 4. a description of the legal operators, showing what states they can be applied in and what the resulting state is. 5. A description of the sensors that the monkey has. Describe the relationship between checking the sensors and making a move. (Hint: Think about the state space representation for the vacuum world problem.) 2. Discuss the issues that arose in formalizing the problem: a. What assumptions did you make about the problem that were not explicit in the problem description? b. What abstractions did you make in defining the states? c. What abstractions did you make in defining the operators? (What knowledge about the domain did you use to create the operators?) 3. Use your state space representation to solve the problem and list one solution (show the sequence of states and operators.) 4. Draw the search tree that gets generated by a BFS of the state space of your representation. Show the tree either to the depth where the minimal depth solution occurs, or a depth of 5, whichever is shallower (i.e., don't explore partial solutions involving sequences of more than 5 operators.) Also, label the nodes to show the order in which they are expanded, not the order generated. 5. Discuss the use of DFS rather than BFS for this problem, given the characteristics of the state space. Is one necessarily better? Why or why not? Consider the differences between these search strategies both when using your representation and for the problem in general (i.e., consider other possible representations.)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started