Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kruskal's algorithm〈期末報告〉
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
eric wang
June 21, 2013
0
110
Kruskal's algorithm〈期末報告〉
2013/06/21 , 演算法期末報告 @ S705
eric wang
June 21, 2013
Tweet
Share
More Decks by eric wang
See All by eric wang
84分的不同凡響
ericwang8230
0
86
那些企業實習的大小事
ericwang8230
1
61
嵌入式系統讀書會成果發表〈決賽〉
ericwang8230
0
140
Wireless Security〈期末報告〉
ericwang8230
0
130
SQL Injection〈期末報告〉
ericwang8230
0
200
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
A Soul's Torment
seathinner
5
2.3k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
67
Information Architects: The Missing Link in Design Systems
soysaucechin
0
780
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
69
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
How GitHub (no longer) Works
holman
316
140k
Agile that works and the tools we love
rasmusluckow
331
21k
Transcript
克魯斯克爾演算法 Kruskal's algorithm 2013/06/21 演算法期末報告 @ S715 成員:王仁宏 王映萱 邱佳俊
張榮恩
Agenda 1.用途 2.介紹演算法 3.虛擬碼
用途?
None
無向圖
http://jpkc.xaau.edu.cn/sjjg/datastru/zxxx/six%20lesson/wps_clip_image1_0001.png
連通無向圖 一顆最小/大生成樹
克魯斯克爾演算法
9 0 5 1 6 4 3 2 10 25
22 24 12 18 16 14 28
虛擬碼
管理set的一些工具function: MAKE-SET(v): 創造一個set FIND-SET(v): 找到這個set的頭頭(id) UNION(u,v): 把兩個set合併起來
Reference 1.Kruskal‘s algorithm http://nthucad.cs.nthu.edu.tw/~yyliu/personal/nou/04ds/kr uskal.html 2.演算法筆記 http://www.csie.ntnu.edu.tw/~u91029/SpanningTree.html
Thanks.
Q&A