D1 June 2005 Q6

EdexcelOld spec10 marksShortest Path

6.

Figure 5: road network on A to J
Figure 5

Figure 5 shows a network of roads. The number on each arc represents the length of that road in km.

(a) Use Dijkstra’s algorithm to find the shortest route from \(A\) to \(J\). State your shortest route and its length. (5)
(b) Explain how you determined the shortest route from your labelled diagram. (2)

The road from \(C\) to \(F\) will be closed next week for repairs.

(c) Find the shortest route from \(A\) to \(J\) that does not include \(CF\) and state its length. (3)