Docsity

Informed Search Algorithms - Artificial Inteligence - Lecture Slides, Slides of Artificial Intelligence

Partial preview of the text

Download Informed Search Algorithms - Artificial Inteligence - Lecture Slides and more Slides Artificial Intelligence in PDF only on Docsity!

Informed search algorithms

Chapter 4

Material

  • Chapter 4 Section 1 - 3
  • Exclude memory-bounded heuristic search

Review: Tree search

  • \input{\file{algorithms}{tree-search-short- algorithm}}
  • A search strategy is defined by picking the order of node expansion

Best-first search

  • Idea: use an evaluation function f(n) for each node
    • estimate of "desirability"
     Expand most desirable unexpanded node 
  • Implementation: Order the nodes in fringe in decreasing order of desirability
  • Special cases:
    • greedy best-first search
    • A*^ search Docsity.com

Greedy best-first search

  • Evaluation function f(n) = h(n) (heuristic)
  • = estimate of cost from n to goal
  • e.g., hSLD (n) = straight-line distance from n to Bucharest
  • Greedy best-first search expands the node that appears to be closest to goal
  • Docsity.com

Greedy best-first search

example

Greedy best-first search

example

Greedy best-first search

example

A *^ search

  • Idea: avoid expanding paths that are already expensive
  • Evaluation function f(n) = g(n) + h(n)
  • g(n) = cost so far to reach n
  • h(n) = estimated cost from n to goal
  • f(n) = estimated total cost of path through n to goal Docsity.com

A *^ search example

A *^ search example

A *^ search example

A *^ search example

Admissible heuristics

  • A heuristic h(n) is admissible if for every node n , h(n) ≤ h *^ (n), where h *^ (n) is the true cost to reach the goal state from n.
  • An admissible heuristic never overestimates the cost to reach the goal, i.e., it is optimistic
  • Example: h (^) SLD (n) (never overestimates the actual road distance)
  • Theorem: If h(n) is admissible, A*^ using TREE-Docsity.com