- 1
- 0
- 约 34页
- 2016-11-30 发布于湖南
- 举报
离散数学课件(英文版)e----trees
* * * * * Prim’s Algorithm for MST 27 26(9) 42 21(4) 21(8) 53 25(6) 33 28 36 18(2) 17(3) 34 29 22 A I H J E C B G F D 16(7) 21(5) 25(1) Step 1: V={A}, E={} Step 2: Select the nearest neighbor of V, u, add the edge connecting u and some vertex in V into E Step 3: Repeat step 2 until E contains n-1 edges End of Algorithm Kruskal’s Algorithm for MST 27 26(9) 42 21(4) 21(7) 53 25(9) 33 28 36 18(3) 17(2) 34 29 22 A I H J E C B G F D 16(1) 21(6) 25(8) Step 1: E={} Step 2: Select the edge with the least weight, and not making a cycle with members of E Step 3: Repeat ste
您可能关注的文档
最近下载
- 幼儿园大班语言《是谁嗯嗯在我的头上》课件.pptx
- 高考生物必背85个知识点分析.doc VIP
- 高考生物必背85个知识点总结.doc VIP
- 高考必背的85个重要生物知识点总结.docx VIP
- 2025届高考生物必背的85个重要知识点总结.docx VIP
- 中国文化概况A-Glimpse-of-Chinese-Culture(修订版)Chapter-8.ppt VIP
- 2026年高考生物必背85个重要知识点总结汇编.pdf VIP
- 预防高处坠落事故专项施工方案.docx VIP
- AutoCAD2022实用教程全套完整教学课件.pptx
- Soundcraft声艺Signature 22MTK Outline Dimensions file)说明书用户手册.pdf
原创力文档

文档评论(0)