Question: (a) A weighted graph Q indicates the distances between points in a co-ordinate system. Qis represented by a vertex set {QA, Q. Qc, QD)

(a) A weighted graph Q indicates the distances between points in a co-ordinate system. Qis represented by a vertex set {QA, Q. Qc, QD) and an edge set {({QA QB), 3), ({QA, Qc), 5), ({QA, QD], 2), ({QB, Qc), 7), ({QB, QD), 2), ({Qc, QD},4)} i. Use Kruskal's algorithm to find a minimum spanning tree for Q. Show your reasoning. ii. "The minimum cost path between any two vertices in a weighted graph will always be the path that involves the least vertices." Prove that this statement is false using the weighted graph Q. Explain your reasoning. 4 marks 5 marks
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
QA 5 3 2 1 A C QB Q 1 Using Kruskals algorithm find minimum sp... View full answer
Get step-by-step solutions from verified subject matter experts
