Question

Find the minimal spanning trees for the Graph below using Prims algorithm. a) Starting from A. b) Starting from D, and c) St
image.png
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Using PRIMs Algorithm a) Starting from (A) Step 1:- let us consider, we pick a vertex A and its adjacent edges are: W(A,B)=Step 3 - Now choose ending verten of (A,B) ie, B W(B,0) = 3 W (C, D) = 2 (min) 21 & 2 WC, f) = 8 W(A, D = 4 3 3 of Step 4 - ND and its b starting from (D) Step 1 - Let us consider, we pick a verten adjacent edges are : A1 LE WCD,F)=3 WCD, E)=3 WCD, CDELIANO W(BD) = 3 WLAD = 4 WC, f=8 W(D,F) = 3 (min) WLD, E)=3 WID,B)=3 Step 5 Now choose ending vertex of (0€ le F. W(FE) = 5a vorten t and its a) Starting from (E) Step 1 - Let us consides, we pick adjacent edges are;- W/ E, F) = 5 W(E, D)=3(min) S12 W(A,B) = 2 (min) W(c, f)=8 Wlo,f=3 WED, B)= 3 W(BA) sy W(E,F) = 5 D 25 - Now. Choose ending verten of (A,B) ie, B WILD)=3

Add a comment
Know the answer?
Add Answer to:
Find the minimal spanning trees for the Graph below using Prim's algorithm. a) Starting from A....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT