Professional Documents
Culture Documents
Chapter 5 - Searching The Knowledge Space II
Chapter 5 - Searching The Knowledge Space II
Artificial Intelligence
Chapter 5: Searching the
Knowledge Space –Informed Search
1
Introduction
• We have seen uninformed search methods
that systematically explore the state space and
find the goal
– They are typically too inefficient to do so in practice.
• Informed search methods use problem
specific knowledge (heuristic function) :
– to improve average search performance,
– and may be more efficient
Heuristic Search
• Heuristic Search:
Heuristic search use domain-specific knowledge
to traverse the search space.
This contrasts with blind search techniques that
use “brute force” methods to scan the
alternative nodes without any regard to
domain knowledge.
L R
3 5
F G Steepest Descent
Local Minima
D
2
H
R D
I J
G
L R
6 4
F G Steepest Ascent
Local Maxima
D
7
H
R D
I J
G
To solve the
problem, we
introduce
RANDOMNESS
ES-Spring 2018, H.M.
Best-First Search
• In Best-First search, the search space is evaluated according
to a heuristic function.
• Nodes yet to be evaluated are kept on an OPEN list and
those that have already been evaluated are stored on a
CLOSED list.
• The OPEN list is represented as a priority queue, such that
unvisited nodes can be de-queued in order of their
evaluation function.
• The evaluation function f(n) is made up of two parts, which
are the heuristic function h(n) and the estimated cost g(n),
where:
f (n) = g(n)+h(n)
ES-Spring 2018, H.M.
Best-First Search