Edexcel FD1 2019 June — Question 3

Exam BoardEdexcel
ModuleFD1 (Further Decision 1)
Year2019
SessionJune
TopicShortest Path

3. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{162f9d72-84a4-4b1a-93cf-b7eeb7f957ae-04_666_940_173_534} \captionsetup{labelformat=empty} \caption{Figure 2}
\end{figure} The network in Figure 2 shows the direct roads linking five villages, \(\mathrm { A } , \mathrm { B } , \mathrm { C } , \mathrm { D }\) and E .
The number on each arc represents the length, in miles, of the corresponding road.
The roads from A to E and from C to B are one-way, as indicated by the arrows.
  1. Complete the initial distance and route tables for the network provided in the answer book.
    (2)
  2. Perform the first three iterations of Floyd's algorithm. You should show the distance table and the route table after each of the three iterations. After five iterations of Floyd's algorithm the final distance table and partially completed final route table are shown below. \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{Distance table}
    \cline { 2 - 6 } \multicolumn{1}{c|}{}ABCDE
    A-12763
    B15-222118
    C75-47
    D1194-3
    E141273-
    \end{table} \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{Route table}
    \cline { 2 - 6 } \multicolumn{1}{c|}{}ABCDE
    AA
    BAB
    CABC
    DCCCD
    EDDDDE
    \end{table}
    1. Explain how the partially completed final route table can be used to find the shortest route from E to A.
    2. State this route. Mabintou decides to use the distance table to try to find the shortest cycle that passes through each vertex. Starting at D, she applies the nearest neighbour algorithm to the final distance table.
    1. State the cycle obtained using the nearest neighbour algorithm.
    2. State the length of this cycle.
    3. Interpret the cycle in terms of the actual villages visited.
    4. Prove that Mabintou's cycle is not optimal.