You are on page 1of 4

Best First Search

9 11
A
B
9.3 8.5 6.5
9 9
C G D
E F
6
7
O H 5 6
I J
6 M
2 4 4
K L 0 M N
Branch and Bound
Basic Observation
S

The length of complete path


from S to G, S-D-E-F-G is 9 D

Similarly the length of the


partial path S-D-A-B also is A E
9 and any additional
movement along a branch
will make it longer than 9
B F

9
Branch and Bound
3
A B 3 C

S
G

S
2
D E F
1 3
2 A D 3

5 B D 6 7 A E 4

8 7
8 9 7 10
C E E B B F

10 10 11 11 9
12 11
D F B F C E A C G

G C G F

G
A* Procedure
3 3
2 A B C 5
3
8
S 0
G 0+8 = 8

1 S
2
D E F
1 3
6 5 A D 3+6 = 9
2+2 = 4
7+2 = 9
5+3 = 8 B D 6+6 = 12 A E 4+5 = 9

7+1=8
10+3 = 13 8+3 = 11
8+5 = 13 C E 9+5 = 14 E B B F

D F B F C E A C G

9+0 = 9

G C G F

You might also like