D1 January 2013 Q4

EdexcelOld spec11 marksGraphs & NetworksShortest Path

4.

Figure 4: network of canals S, A, B, C, D, E, F, T with lengths in miles
Figure 4
(a) Explain what is meant, in a network, by the term path. (2)

Figure 4 represents a network of canals. The number on each arc represents the length, in miles, of the corresponding canal.

(b) Use Dijkstra’s algorithm to find the shortest path from S to T. State your path and its length. (6)
(c) Write down the length of the shortest path from S to F. (1)

Next week the canal represented by arc AB will be closed for dredging.

(d) Find a shortest path from S to T avoiding AB and state its length. (2)