CS 171 Introduction to Artificial Intelligence

Homework 2, due Friday, January 18, at 11:55pm

Reading

Doing

  1. Do Exercise 2.4, second and third bullet items (Titan, books) on page 62.
  2. Do Exercise 3.9 on page 115. But don't do any programming. Do part b "by hand" (and brain), drawing a few diagrams to show intermediate steps of your search algorithm. And make sure in part b to state the name of the search algorithm you use.
  3. Run the program PathDemo.exe, and read the associated readme.txt file, both in PathDemo.zip. Try each of the following search algorithms in PathDemo, and write a few sentences answering these questions:
  4. Consider a problem with states labeled H, L, M, P, S, T, V, W, and Z. The initial state is P and the goal state is Z. The following state to state transitions (operators) are allowed, followed by their costs: from L to P, cost 10; from P to S, cost 20; from P to T, cost 3; from P to V, cost 10; from S to L, cost 20; from S to M, cost 15; from S to Z, cost 20; from T to W, cost 25; from V to M, cost 15; from V to S, cost 5; from W to H, cost 4; from W to Z, cost 10.

Details

Either Note that paper submissions will be returned and may have comments; electronic submissions will not be returned with comments.

Late homeworks will be accepted through midnight at the end of Sunday, Jan. 15, with a 50% penalty. (No later submission will be accepted.)