- 1、本文档共33页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
离散数学课件----Trees
* * * * * * * * * * * * * Number of Vertices and Edges A tree with n vertices has n-1 edges Proof: There are at least n-1 edges to connect n vertices. Suppose that there are more than n-1 edges. So, the sum of in-degree of all vertices must be more than n-1. However, the in-degree of the root is zero, and in-degree of any of the other n-1 vertices is 1, which mean the sum is n-1. Contradiction. Spanning Tree If R is a symmetric, connected relation on A, a tree T on A is a spanning tree of R if T is a tree with exactly the same vertices as R. An undirected spanning tree is the symmetric closure of a spanning tree. Note that an undirected spanning tree can always obtained by remove some edges from a symmetric, connected relation R. Spanning Tree: Examples Different spanning tree are obtained from a symmetric, connected relation: Breaking cycles Breadth first Depth first 1 2 3 4 5 6 7 8 9 10 11 12 Merging Two Vertices v0 v6 v2 v5 v4 v1 v3 v6 v2 v5 v4 v3 v0’ v6 v5 v4 v3 v0” Matrix Operation for Merging v0 v1 v2 v3 v4 v5 v6 v0 v1 v2 v3 v4 v5 v6 Merging v0 and v1 v0” v3 v4 v5 v6 v0” v3 v4 v5 v6 v0’ v2 v3 v4 v5 v6 v0’ v2 v3 v4 v5 v6 Merging v0’ and v2 Constructing a Spanning Tree a b c d a a a b b b c c c d d d 0. Let a be the starting vertex, selecting edges one by one in original R 1. Merging a and c into a’({a,c}), selecting (a,c) 2. Merging a’ and b into a”({a,c,b}), selecting (c,b) 3. Merging a” and d into a”’({a,c,b,d}), selecting (a,d) or (d,b) Ending, as only one vertex left (0) (1) (2) (3) Weighted Graph and MST A weighted graph 27 26 42 21 21 53 25 33 28 36 18 17 34 29 22 A I H J E C B G F D 16 21 25 The nearest neighbor of vertex I is H The nearest neighbor of shaded subset of vertex is G Weighted Graph and MST 27 26 42 21 21 53 25 33 28 36 18 17 34 29 22 A I H J E C B G F D 16 27 26 42 21 21 53 25 33 28 36 18 17 34 29 22 A I H J E C B G F D 16 27 26 42 21 21 53 25 33 28 36 18 17 34 29 22 A
您可能关注的文档
- 磁共振波谱(MRS)临床应用 聂林.ppt
- 研究生-2014现代分子生物学英语.ppt
- 社会公德分析.ppt
- 社交礼仪:舞会礼仪.ppt
- 社会契约论9、10、11段(于明宝).ppt
- 社交网络数据挖掘.doc
- 社会保障 第二章1.ppt
- 社会心理学英文版Lecture 4- Behavior and Attitudes.pptx
- 社会心理学英文版Lecture 5- Genes, Culture, and Gender.pptx
- 磷酸铁锂 LFP LIB 正极材料 介绍.ppt
- 2024年度党员干部专题组织生活会个人新四各方面对照检查材料3篇合集.docx
- 2023年民主生活会领导干部个人发言3篇范文.docx
- 第二批主题教育专题组织生活会普通党员个人对照检查材料合集2篇.docx
- 学习以案促改党纪教育专题组织生活会个人对照检查材料两篇.docx
- 党员领导干部2023年民主生活会“六个方面”个人对照检查材料3篇范文.docx
- 党员干部“严守纪律规矩 加强作风建设”组织生活会个人对照检查材料集合篇.docx
- 2024班子防治统计造假专题民主生活会对照检查材料两篇范文.docx
- 2024公司机关党支部教育专题组织生活会个人对照检查材料两篇.docx
- 2023年度专题民主生活会个人对照新6个对照方面检查材料3篇文稿.docx
- 2024第二批主题教育专题组织生活会对照检查材料2篇文本.docx
最近下载
- 部编版小学语文六年级下册第三单元教材解读分析.pptx
- 2025年江苏护理职业学院单招职业技能测试题库及答案参考.docx VIP
- 网络对大学生的影响与对策.doc VIP
- 特殊教育教学设计x.pptx VIP
- 2023年安徽医学高等专科学校单招综合素质考试试题及答案解析.docx
- IPC J-STD-001H 2020 EN 最新英文 版的.pdf
- 韩大元 宪法(第七版)全套课件.pptx
- 上海中心大厦施工组织设计.pdf
- 新疆维吾尔自治区2024年普通高考第一次适应性检测(一模)理科综合试卷(含答案).pdf
- (2025年新版本)人教版七年级数学下册《10.3 实际问题与二元一次方程组》教案..docx VIP
文档评论(0)