1
Informed Search and Exploration
Berlin Chen 2004
Reference:
- 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach, Chapter 4
- 2. S. Russell’s teaching materials
Informed Search and Exploration Berlin Chen 2004 Reference: 1. S. - - PowerPoint PPT Presentation
Informed Search and Exploration Berlin Chen 2004 Reference: 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach, Chapter 4 2. S. Russells teaching materials 1 Introduction Informed Search Also called heuristic
1
2
3
4
5
6
SLD
7
8
9
10
2+0+0+0+1+1+2+0=6 (Manhattan distance )
11
12
13
Hart, Nilsson, Raphael, 1968
14
* *
Finding the shortest-path goal
15
16
17
18
19
20
A B C D E F G L4 L1 L2 L3 4 3 2 3 2 4 1 8 1 3
A(15) A(15) C(15) C(15), B(13), D(7) G(14) G(14), B(13), F(9), D(7) B(13) B(13), L3(12), F(9), D(7) L3(12) L3(12), E(11), F(9), D(7)
Node g(n) h(n) f(n) A 0 15 15 B 4 9 13 C 3 12 15 D 2 5 7 E 7 4 11 F 7 2 9 G 11 3 14 L1 9 0 9 L2 8 0 8 L3 12 0 12 L4 5 0 5
: node
function Evaluation n h n g n f n + =
Finding the longest-path goal
*
21
Finding the shortest-path goal , where h(‧) is the straight-line distance to the nearest goal
22
23
24
* 2 * 2 2 2
2
25
26
* * *
27
*
28
29
cutoff3 cutoff1 cutoff4 cutoffk
cutoff2 cutoff5
30
31
32
33
34
35
36
Re-expand the forgotten nodes (subtree of Rimnicu Vilcea)
37
38
39
40
41
42
100 random problems for each number
Nodes generated by A* b*: effective branching factor branching factor for 8-puzzle: 2~4 solution length
43
44
45
46
2 1
m
47
Search Effort Heuristic Computation Search Effort Heuristic Computation Heuristic Computation Search Effort Search Effort Heuristic Computation Time Relaxation of problem for heuristic computation
48
49
50
51
52
53
54
(when one of queens in Column 2,5,6, and 7 is moved)
55
8-queens stuck in a local minimum Ridges cause oscillation
56
57
T E
/ ∆
< ∆E
58
59
60
61
62
63
P j j i i
1
64
65
66
2 4 7 4 8 5 5 2 3 2 7 5 2 4 1 1 3 2 7 4 8 5 5 2 number of non attacking pairs of queens parents
( ) ( )
=
P j j i i
h Fitness h Fitness h
1
Pr
67
68
D
3 2 1 1 =
D
3 2 1 2 =
f D f f f f f f f f D f f f f f f f
3 3 3 2 2 1 1 2 3 3 3 2 2 1 1 1
d
d d d
sequences of HMM mean vectors crossover (reproduction) mutation ( )
( )
=
⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ =
P j j i i
T P T P
1 exp
exp Pr h O h O h
69
70
71
72
73
74
the gradient of
75
76