题目
Figure 5 shows a weighted graph that contains 12 arcs and 8 vertices.
It is given that
- no two arcs have the same weight
- and are positive integers
- arc CD is not in the minimum spanning tree for the graph
(a) Explain why
It is also given that when Prim’s algorithm, starting at A, is applied to the weighted graph, AB is the first arc selected.
(b) Show that and write down and simplify two further constraints on the values of and .
(c) Represent these four constraints on Diagram 1 in the answer book.
(d) Using Diagram 1 only, write down the possible pairs of values that and can take in the form .
The minimum spanning tree for the weighted graph in Figure 5 has total weight 73.
Six of the seven arcs in the minimum spanning tree are AB, AD, BC, CE, EF and GH.
(e) Determine the value of and the value of . You must make your method and working clear.
题目中文翻译
图 5 显示了一个加权图,包含 12 条弧和 8 个顶点。
已知
- 没有两条弧具有相同的权重
- 和 是正整数
- 弧 CD 不在图的最小生成树中
(a) 解释为什么
还已知当从 A 开始的 Prim 算法应用于加权图时,AB 是选择的第一条弧。
(b) 证明 并写出并简化关于 和 值的两个进一步约束。
(c) 在答案本的图 1 上表示这四个约束。
(d) 仅使用图 1,写出 和 可以取的可能值对,形式为 。
图 5 中加权图的最小生成树总权重为 73。
最小生成树中七条弧中的六条是 AB、AD、BC、CE、EF 和 GH。
(e) 确定 的值和 的值。必须清楚说明方法和计算过程。