This course is run at the The University of Nottingham within the School of Computer Science & IT. The course is run by Graham Kendall (EMAIL : gxk@cs.nott.ac.uk)
This question is from the 1998/99 G5BAIM (Artificial Intelligence Methods Examination). It formed part of question 1 (part b) and was worth 16 of the 25 marks available. Although this question is from G5BAIM it is still applicable to G5AIAI (Introduction to Artificial Intelligence) as this part of the course (heuristic search) is now part of G5AIAI and not G5BAIM.
You should attempt this question and keep the answers to hand when you attempt the self assessment for this part of the course as you may be asked questions relating to this question.
Consider the following map
Using the A* algorithm work out a route from town A to town M. Use the following
cost functions.
Provide the search tree for your solution and indicate the order in which you
expanded the nodes. You should no re-visit states previously visited. Finally,
state the route you would take and the cost of that route.
A
|
51
|
E
|
42
|
I
|
50
|
M
|
0
|
B
|
50
|
F
|
14
|
J
|
32
|
|
|
C
|
32
|
G
|
33
|
K
|
41
|
|
|
D
|
28
|
H
|
43
|
L
|
56
|
|
|
This table was not past of the exam question but is given in case you have trouble reading and/or printing the diagram above. It shows the distances between towns A thru M. Note that the distances are symmetric.
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
A |
|
42
|
20
|
|
|
|
|
|
|
|
|
48
|
|
B |
|
|
|
23
|
|
|
|
|
|
|
|
|
|
C |
|
|
|
|
|
29
|
|
|
|
|
|
40
|
|
D |
|
|
|
|
42
|
|
|
|
|
|
|
|
|
E |
|
|
|
|
|
|
10
|
|
|
|
|
|
|
F |
|
|
|
|
|
|
|
|
|
40
|
42
|
|
|
G |
|
|
|
|
|
|
|
20
|
|
|
|
|
|
H |
|
|
|
|
|
|
|
|
10
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
|
23
|
|
|
|
J |
|
|
|
|
|
|
|
|
|
|
|
|
32
|
K |
|
|
|
|
|
|
|
|
|
|
|
20
|
41
|
L |
|
|
|
|
|
|
|
|
|
|
|
|
|
M |
|
|
|
|
|
|
|
|
|
|
|
|
0
|
Last Updated : 15 Sep 2001