D1 June 2006 Q4

EdexcelOld spec12 marksGraphs & NetworksShortest Path

4.

(a) Explain what is meant by the term ‘path’. (2)
Figure 3: network of cycle tracks on A to I
Figure 3

Figure 3 shows a network of cycle tracks. The number on each edge represents the length, in miles, of that track. Mary wishes to cycle from \(A\) to \(I\) as part of a cycling holiday. She wishes to minimise the distance she travels.

(b) Use Dijkstra’s algorithm to find the shortest path from \(A\) to \(I\). Show all necessary working in the boxes in Diagram 1 in the answer book. State your shortest path and its length. (6)
(c) Explain how you determined the shortest path from your labelling. (2)

Mary wants to visit a theme park at \(E\).

(d) Find a path of minimal length that goes from \(A\) to \(I\) via \(E\) and state its length. (2)