Question

For each graph, let s be the root. 1. Determine the minimum spanning tree of each graph using: a Prims Algorithm b) Kruskal
0 0
Add a comment Improve this question Transcribed image text
Answer #1

salution: = We know that in a minimum spanning toce Ivil = lvl TET TVI-1 here v and E are the number of vertaxe and edges inS 3 7 9 s 7 7 b h d е. prish primis algorithya- - step-(1) . Step to 3 ů b sten-(3) oc -a 7 b 6 С step-4 g 5 7 6 ef step-5 7 os 5 5 7 b e s 6 Step-(6) f 1 7 5 vo S 6. -step (7) f F 5 oo Z 5 g b 6 d Total cost= 6+7+5+ 7 + 7 +6 +5+9 52Kruskals algorithm :- Step-os Step-(2) 5.6 9 a a e - Step (3) ao 6 b. e G S Step-(4) C ☺ 5 6 f S Step-es) N a b b 6 d6 Step-(6) СЕ y 3 a g 7 5 7 b h 6 total cost= 6+ 7+5+7+7+ 6 + 5ty 52. 6 Anste) co 9 16 9 5 10 a 13 13 of als PG 5 d 10 се е 1(vertaal (Shortest path) d [v] » S 구 co b O 6. 17 16 22 13 14 17. e d a b С LePlease give thumb up to the answer and feel free for if you have any doubts.

Add a comment
Know the answer?
Add Answer to:
For each graph, let s be the root. 1. Determine the minimum spanning tree of each...
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