This preview shows page 1-2 out of 7 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

15-381: Artificial Intelligence Assignment 3: Midterm Review Handed out: Tuesday, October 2nd, 2001 Due: Tuesday, October 9th, 2001 (in class) Solutions will be posted October 10th, 2001: No late homeworks will be accepted! Problem 1: Informed Search An informed search engine can easily solve this maze, getting from the start location to find the finish location. The possible operators are up, down, left, right, which are only valid if there is a dashed line between the grid boxes in the map of the maze. Consider that the heuristic used is the straight-line distance between the current position in the maze and the exit from the maze. 1. Show that hill-climbing search will fail to find an optimal solution. (Your answer should make it clear why it fails to find the optimal solution). 2. Name at least one other informed search algorithm that would not guarantee finding the optimal solution in this problem. 3. Which search algorithm would guarantee finding the optimal solution? 4. Number the 6 first squares searched in this maze using A*, with the given heuristic, and a unit cost for each move.Problem 2: Heuristic Search Consider the search problem below with start state S and goal state G. The heuristic values are shown. Unfortunately we do not know the transition costs, and we really would like to know them. However we know that the given heuristic is admissible. Furthermore we know what was the priority queue of A* after each node expansion, namely: 1. {(S, f=1)} 2. {(B, f=5), (A, f=6)} 3. {(A, f=6), (C, f=7)} 4. {(C, f=6)} 5. {(D, f=5), (G, f=7)} 6. {(G, f=6)} Fill in the transition costs for all the edges. Briefly explain your reasoning. Chris claims that: In general, if we are given an arbitrary search problem, for which we know: (i) the heuristic value of all the nodes; (ii) that the heuristic is admissible; (iii) the solution found by A* is given; and (iv) all the values of the priority queue of A*’s search performance, then the costs of all the edges in this arbitrary search problem can be uniquely determined. Is Chris correct? If yes, then prove it informally. Otherwise, give an example of a state graph (similar to part A) that shows that Chris is incorrect.Problem 3: Logic and Resolution You are sitting at home on a Monday night, trying frantically to finish your AI assignment. There is not much time left and you decide to order pizza. You call Pizza Palace and find out that they have only two pizzas left: 1. True ⇒ Pizza(Olives) ∨ Pizza(Anchovies) We should check if you like the toppings, cause we don’t want to order something you will not eat: 2. Pizza(Olives) ∧ Puke(Me, Olives) ⇒ Hungry(Me) 3. Pizza(Anchovies) ∧ Puke(Me, Anchovies) ⇒ Hungry(Me) You are a picky eater and will not eat some toppings: 4. True ⇒ Puke(Me, Olives) 5. True ⇒ Puke(Me, Anchovies) Use resolution to show, unfortunately, that you will go hungry tonight: 6. True ⇒ Hungry(Me)Problem 4: Games 1. Apply minimax to show which move A selects for the following game tree. Be sure to indicate which moves are expected to be made. 2. Show which branches (if any) would be cut off during an alpha-beta search for the same game tree.3. Fill in terminal values for the following game tree that will result in alpha-beta doing the maximum number of cut-offs possible. Assume that nodes are always considered left-to-right.Problem 5: Planning Consider the Tower of Hanoi task, with n disks and k pegs. The disks are of di_erent sizes. A disk can only be moved if there are no other disks on it. A disk can only be moved to a peg that is empty or to a peg whose top disk is larger than itself. A problem consists of an initial and a final configuration of pegs and disks. 1. Complete the set of operators below to solve problems in a simple Tower of Hanoi domain with 2 disks - one large and one small and 3 pegs. (Variables are represented within angle brackets.) operator MOVE-SMALL <peg-x> <peg-y> preconds: on SMALL peg-y not (on SMALL peg-x) add: (on SMALL <peg-x>) del: on SMALL peg-y 2. Using your set of operators what is an optimal plan to solve the problem shown in the figure below?Problem 6: Semantic Nets Consider the semantic network below. Use inferential distance and the information represented in the network to answer the value-query questions below. 1. State three facts that are represented in this semantic network. 2. What is the language spoken in Argentina? 3. What is the language spoken in Mexico? 4. What is the language spoken in Brazil? 5. Insert into the network the fact that the language spoken in Brazil is Portuguese. 6. State one fact that would be hard to represent in a general semantic network, and easy to represent in a frame


View Full Document

CMU CS 15381 - Homework

Documents in this Course
Planning

Planning

19 pages

Planning

Planning

19 pages

Lecture

Lecture

42 pages

Lecture

Lecture

27 pages

Lecture

Lecture

19 pages

FOL

FOL

41 pages

lecture

lecture

34 pages

Exam

Exam

7 pages

Lecture

Lecture

22 pages

Handout

Handout

11 pages

Midterm

Midterm

14 pages

lecture

lecture

83 pages

Handouts

Handouts

38 pages

mdp

mdp

37 pages

HW2

HW2

7 pages

nn

nn

25 pages

lecture

lecture

13 pages

Handout

Handout

5 pages

Lecture

Lecture

27 pages

Lecture

Lecture

62 pages

Lecture

Lecture

5 pages

Load more
Download Homework
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Homework and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Homework 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?