- 1、本文档共52页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
lec08-graphs
CS202 - Fundamental Structures of Computer Science II lec08-graphs GRAPHS – Definitions A graph G = (V, E) consists of a set of vertices, V, and a set of edges, E, where each edge is a pair (v,w) s.t. v,w ? V Vertices are sometimes called nodes, edges are sometimes called arcs. If the edge pair is ordered then the graph is called a directed graph (also called digraphs) . We also call a normal graph (which is not a directed graph) an undirected graph. When we say graph we mean that it is an undirected graph. Graph – Definitions Two vertices of a graph are adjacent if they are joined by an edge. Vertex w is adjacent to v iff (v,w) ? E. In an undirected graph with edge (v, w) and hence (w,v) w is adjacent to v and v is adjacent to w. A path between two vertices is a sequence of edges that begins at one vertex and ends at another vertex. i.e. w1, w2, …, wN is a path if (wi, wi+1) ? E for 1 ? i ?. N-1 A simple path passes through a vertex only once. A cycle is a path that begins and ends at the same vertex. A simple cycle is a cycle that does not pass through other vertices more than once. Graph – An Example Graph -- Definitions A connected graph has a path between each pair of distinct vertices. A complete graph has an edge between each pair of distinct vertices. A complete graph is also a connected graph. But a connected graph may not be a complete graph. Directed Graphs If the edge pair is ordered then the graph is called a directed graph (also called digraphs) . Each edge in a directed graph has a direction, and each edge is called a directed edge. Definitions given for undirected graphs apply also to directed graphs, with changes that account for direction. Vertex w is adjacent to v iff (v,w) ? E. i.e. There is a direct edge from v to w w is successor of v v is predecessor of w A directed path between two vertices is a sequence of directed edges that begins at one vertex and ends at another vertex. i.e. w1, w2, …, wN is a path if (wi, wi+1) ? E for 1 ? i ?. N-
您可能关注的文档
- Family Album1 ACT I.ppt
- Family Rules.ppt
- family rules (家规).ppt
- Far from autism远离自闭症.ppt
- far away from home.pptx
- Father Knows Better 舞台剧PPT.ppt
- father knows better111111.ppt
- fate_stay_night.ppt
- Federated Build Process.ppt
- Fast high far.ppt
- Lecture 2 Reason and Revolution Period.ppt
- Lecture 8 Tenses.ppt
- lecture 3章.ppt
- Lecture 2. General Theories of Second Language Learning.ppt
- Lecture 6 Drawing in Direct3D.ppt
- Lecture 5 The_Enlightenment_NeoclassicismThe_Age_of_Reason.ppt
- Lecture X4 Economic growth.ppt
- Lecture-Chapter-03-2nd Law.pptx
- Lecture7 William Shakespeare.ppt
- lecture 8 trojan war.ppt
最近下载
- GB_T 15587-2023 能源管理体系 分阶段实施指南(OCR).pdf VIP
- SMS-C-15各岗位船员安全管理职责要点 .pdf VIP
- 风机设备吊装专项施工方案(终版).doc VIP
- 东芝电梯CV620电梯电气图纸.pdf VIP
- 美团地推销售流程.pptx
- 关于贯彻落实中央八项规定实施细则的办法.docx VIP
- 一种采用LC-MS检测低分子肝素中寡糖含量的方法及应用.pdf VIP
- 2023-2024学年四川省泸州市泸县五中初中教育共同体八年级(下)期中数学试卷(含详解).pdf VIP
- 钢筋原材料试验自动计算.xls VIP
- 农产品食品检验员职业技能竞赛理论考试题库(含答案).docx VIP
文档评论(0)