Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

PSet 3: informed search

(videos up to and including A*)

  1. In the graph below, run Greedy search from Zerind to Bucharest. When vertices are removed from Open, break ties in alphabetical order. Show the order vertices were assigned to the current state s, and how the priority queue evolved in the same manner I have in the lectures. Label the nodes with their h-costs. What was the total cost of the path you find? is it optimal?

  2. In the graph below, run A* search from Zerind to Bucharest. When vertices are removed from Open, break ties in alphabetical order. Show the order vertices were assigned to the current state s, and how the priority queue evolved in the same manner I have in the lectures. Label the nodes with their f-costs. What was the total cost of the path you find? is it optimal?

    Romania MapStraight Line Distances

Challenge Problems

  1. In the lecture, I defined monotonicity as a property of a heuristic where if nn is an ancester of nn', f(n)f(n)f(n) \leq f(n'). Another way to talk about the same thing is with a property called consistency, where for every node nn and every adjacent successor nn' generated by an action aa, h(n)c(n,a,n)+h(n)h(n) \leq c(n,a,n') + h(n'), and h(goal)=0.h(goal)=0. In english, h(n)h(n) is less than or equal to the cost of going from nn to nn' by taking action aa, plus h(n)h(n').

    Show that consistency implies monotonicity. That is, if a heuristic is consistent, it must be monotonic.

  2. Show that consistency implies admissibility. That is if a heuristic is consistent, it must be admissible.