Skip to content
CalcGospel 國際數學圖譜
返回

IAL 2024 June D1 Q3

A Level / Edexcel / D1

IAL 2024 June Paper · Question 3

题目

Problem

Figure 2 models a network of tracks between nine ranger stations, A, B, C, D, E, F, G, H and J, in a forest. The number on each edge gives the time, in minutes, to travel along the corresponding track. The forest ranger wishes to travel from A to J as quickly as possible.

(a) Use Dijkstra’s algorithm to find the shortest time needed to travel from A to J.

State the quickest route.

(6)

(b) Hence determine the weight of the minimum spanning tree for the network given in Figure 2. Give a reason for your answer.

You do not need to find the minimum spanning tree.

(2)
题目中文翻译

图 2 表示森林中九个护林站 A、B、C、D、E、F、G、H 和 J 之间的小径网络。每条边上的数字表示沿相应小径行进所需的时间(单位:分钟)。护林员希望尽快从 A 前往 J。

(a) 使用 Dijkstra 算法求从 A 前往 J 所需的最短时间。

写出最快路线。

(b) 由此确定图 2 所示网络的最小生成树权重,并说明理由。

无需求出最小生成树。

解答

(a)

解法一

思路

展开

从 A 开始运行 Dijkstra 算法。每次固定当前临时标号最小的顶点,并按顶点被永久标号的次序更新相邻顶点;工作值的先后次序也要保留。最后从 J 沿产生最小标号的前驱顶点反向追溯。

答题过程

展开

Applying Dijkstra’s algorithm from A gives:

VertexOrder of labellingWorking valuesFinal value
A100
C21010
B327, 1818
F448, 2727
G53232
D652, 50, 47, 4545
E771, 61, 5252
H883, 63, 6161
J991, 75, 7474

Tracing back from J gives

JHEDGFBCA.\begin{align*} &\,J\leftarrow H\leftarrow E\leftarrow D\leftarrow G\\ &\,\hspace{2pt}\leftarrow F\leftarrow B\leftarrow C\leftarrow A. \end{align*}

Hence the quickest route is

ACBFGDEHJ,\boxed{A-C-B-F-G-D-E-H-J},

and the shortest time is

74 minutes.\boxed{74\text{ minutes}}.

(b)

解法一

思路

展开

承接上一问:所得最快路线没有重复顶点,并且恰好经过网络中的全部九个顶点,因此这条路径本身连接全部顶点。按照官方评分资料的结论,它的权重就是该网络最小生成树的权重。

答题过程

展开

The quickest route found in part (a) passes through all nine vertices of the network. It therefore gives the minimum spanning tree for this network.

Hence the weight of the minimum spanning tree is

74 minutes.\boxed{74\text{ minutes}}.