


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















(Textbook Chpt 3.6)
Sept, 19, 2012
Course Announcements
Marks for Assignment0: will be posted on Connect on Fir
If you are confused on basic search algorithm, different search strategies….. Check learning goals at the end of lectures. Work on the Practice Exercises and Please come to office hours
Giuseppe Tue 2 pm, my office. Nathaniel Tomer Fri 11am, X150 (Learning Center) Tatsuro Oya Wed 11am, X150 (Learning Center) Mehran Kazemi Mon 11 am, X150 (Learning Center)
Assignment1: will also be posted on Fri
Recap: Search with Costs
Recap Uninformed Search
Complete Optimal Time Space
Costs > 0
Costs >=
Lecture Overview
to guide the search: an estimate of the distance from node n to a goal node.
This is called a heuristic
Heuristic Search
More formally (cont.)
Definition (admissible heuristic)
Example Admissible Heuristic Functions
Example Admissible Heuristic Functions
Example Admissible Heuristic Functions
Example Heuristic Functions
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
How to Construct a Heuristic You identify relaxed version of the problem:
a less constrained problem!)
CPSC 322, Lecture 3 Slide 19
Another approach to construct heuristics
Current node
Goal node
CPSC 322, Lecture 8
Heuristics: Dominance
If h 2 (n) ≥ h 1 (n) for every state n (both admissible)
then h 2 dominates h 1
Which one is better for search (why?)
8puzzle: (1) tiles can move anywhere (2) tiles can move to any adjacent square (Original problem: tiles can move to an adjacent square if it is empty) search costs for the 8-puzzle (average number of paths expanded): (d = depth of the solution) d=12 IDS = 3,644,035 paths A(h 1 ) = 227 paths A(h 2 ) = 73 paths d=24 IDS = too many paths A(h 1 ) = 39,135 paths A(h 2 ) = 1,641 paths