- 4
- 0
- 约8.98千字
- 约 27页
- 2017-03-09 发布于上海
- 举报
Welcome to IS 2610 University of Pittsburgh欢迎您到2610 匹兹堡大学
IS 2610: Data Structures Graph April 5, 2004 Graph Terminology Graph : vertices + edges Induced subgraph of a subset of vertices Connected graph: a path between every pair Maximal connected: there is no path from this subgraph to an outside vertex Representation Adjacency matrix V by v array Adv./disadvantages Adjacency list Linked list for each vertex Adv./disadvantages Hamilton Path Hamilton path: Given two vertices, is there a simple path connecting them that visits every vertex in the graph exactly once? Worst case for finding Hamilton tour is exponential Assume one vertex isolated; and all v-1 vertices are connected (v-1)! Edges need to be checked Euler Tour/Path Euler Path Is there a path connecting two vertices that uses each edge in the graph exactly once? Vertices may be visited multiple times Euler tour: Is there a cycle with each edges exactly once Bridges of konigsberg Properties: A graph has a Euler tour iff it is connected and all the vertices are of even degree A graph has a Euler path iff it is connected and exactly two of its vertices are of odd degrees Complexity? Graph Search Depth First Search V2 for adj matrix V+E for adj. list Graphs may not be connected DFS for graph problems Cycle detection Back edges Simple path Simple connectivity The graph search function calls the recursive DFS function only once. Two way Euler tour Each edge visited exactly twice Spanning tree Given a connected graph with V vertices, find a set of V-1 edges that connects the vertices Any DFS is a spanning tree Two coloring, bipartiteness check Separability and Connectivity Bridge An edge that, if removed, would separate a connected graph into two disjoint subgraphs. Edge-connected graph – has no bridges In a DFS tree, edge v-w is a bridge iff there are no back edges that connect a descendant of w to an ancestor of w Separability and Connectivity Articulation point (separation/cut) Removal results in at least two disjoint subgraphs K-connected - for each pai
您可能关注的文档
- WAKE UP THE SLEEPING GIANT University of Pittsburgh唤醒沉睡的巨人匹兹堡大学.ppt
- Waldo Stadium Western Michigan University瓦尔多体育场西密歇根大学.ppt
- WALK THROUGH CALIFORNIA COSTUME IDEAS走过加利福尼亚服装创意.ppt
- Walker Brothers Cowboy 輔仁大學進修部首頁輔仁大學進修部首頁牛仔沃克兄弟.ppt
- Vietnam Geography, History, and Culture越南地理历史文化.ppt
- Walt Whitman “Song of Myself” Adam Gmez怀特曼《自我之歌》亚当G和243ó.ppt
- Walter Benjamin Fudan University本雅明复旦大学.ppt
- Walthers Gymnasium schilkeschilke Walthers健身房.se.ppt
- Waltz With Bashir University of Guelph巴希尔圭尔夫大学.ppt
- War of the Models Can the Egalitarian EU Compete with the战争的模式可以平等的欧盟竞争的.ppt
- 广东省广州省实验中学教育集团2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州大学附属中学2025-2026学年八年级上学期奥班期中物理试题(解析版).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(含答案).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(解析版).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 2026《中国人寿上海分公司营销员培训体系优化研究》18000字.docx
- 《生物探究性实验教学》中小学教师资格模拟试题.docx
最近下载
- 2025年省考超大杯刷题-申论套卷四.pdf VIP
- 小学学校总务处的工作计划.pptx VIP
- 大学毕业论文__小型液压挖掘机的设计.doc VIP
- 食材配送人员配置与资质要求.docx VIP
- 2025年山东省济南市中考英语试卷试题真题(精校打印版).pdf VIP
- 一种能够在太阳光下快速固化的可剥离去污复合膜及制备方法.pdf VIP
- 骨科临床诊疗指南及操作规范(2025版).docx
- 2025-2026学年小学信息技术(信息科技)四年级下册浙教版(2023)教学设计合集.docx
- 沪科版九年级(上) 中考题同步试卷:22.5 二次函数的应用(18).doc VIP
- 中国的刺腹牙甲属、脊胸牙甲属和凹基牙甲属昆虫鞘翅目牙甲科牙甲族研究.pdf VIP
原创力文档

文档评论(0)