Lecture 2. Graph theory2
Modelingof
ComplexNetworksModeling of Complex Networks
Lecture2: Lecture 2:Introduction to Graph TheoryIntroductiontoGraphTheory
S8101003Q (Sem A, Fall 2014)
Instructor: Aaron, Haijun Zhang,jg
Review
Walk:A finite sequence of edges, one after another, in the form of
v1v2, v2v3,…,vn-1 vn where N(G) = {v1,v2 ,…,vn}are nodes.
A walkis denoted by v1 → v2 → …vnand the number of edges in a
walk is called its length.
Trail: are distinct.
Path:are distinct, except perhaps v1= vnwhich is called a closed path, often called a circuit(or, sometimes, a looppor a cycley)).
Tree:A graph with no circuits.
Eülerian Graphs
edge once and once only. gy
Eülerian Graphs:If it has a
closed trail that traverses each There may be more than one such trail, each of which is Theremaybemorethanonesuchtrail,eachofwhichiscalled an Eülerian trail.
Semi-Eülerian graph: If it has a trail, need not be closed,
that traverses each edge once and once only.
bd336x280();1263_892.83-1080-0-1347-1080.jpg" alt="Lecture 2. Graph theory2" />
Example
Main Results
the degree of every node in the graph is an even number.gygpProof:If a node is a starting point, then the trail has to return to it:Theorem 2-14 A connected graph is Eülerian if and only if If a node has a trail entering it, then the trail has to leave it:g,
Corollary 2-15 The seven-bridge problem of Königsburg has no solutions.pgg
Algorithmto find Eülerian Graphs Corollary 2-16 (Fleury Algorithm) In any given Eülerian graph G, an Eülerian trail can be found by the following procedure:
Start from any node in G. Walk along the edges of Gin an arbitrary manner, subject to the following rules: ¾
¾
¾erase the edges as they are traversed;erasetheresultingisolatednodes;erase the resulting isolated nodes;walk through a bridge only if there are no other alternatives.
bd336x280();1263_892.83-1080-0-1173-1080.jpg" alt="Lecture 2. Graph theory2" />
Example
SirWilliam Rowan Hamilton (1805-1865)
In 1856, the English mathematician William R. Hamilton
studied the world navigation problem and considered a gpmap with 20 nodes representing cities connected by sailing routes, as depicted by the following figure. He wanted to fdfind out if one can traverse through every city once and fhhdonce only, and finally return to the starting city. His study eventuallyledtotheestablishmentofthenow-famous eventually led to the establishment of the now-famousHamiltonian graph theory.
bd336x280();iw=1080-0-1424-1080.jpg" alt="Lecture 2. Graph theory2" />
One Solution ?
Hamiltonian Graphs
once and once only. y
Hamiltonian Graph:If it has a
closed trail that traverses A trivial case is a single node and a nontrivial Hamiltonian ggraph must be a circuit, called a hblldHamiltonian circuit.
Semi-Hamiltonian graph: If it has a trail, need not be
closed, that traverses each node once and once only.
bd336x280();3_892.83-924-0-1126-924.jpg" alt="Lecture 2. Graph theory2" />
Some Results
bd336x280();0_0_0_0_0_1263_892.83-1080-0-1092-1080.jpg" alt="Lecture 2. Graph theory2" />
Shortest Path Length Problem
Q: What is the shortest path length from Ato L ?
Approach to Solving the Shortest Path Length Problem
Moving fromAtowardLand associating each ()that is equal to qintermediate node Vwith a number l(V)the shortest path length from Ato V. For example: from Ato J, one has l(J)=l(G)+5or
l(J)=l(H)+5 whichever is shorter.
Approach to Solving the Shortest Path Length Problem
Starting from Awith l(A)=0, moving from AtowardL, one ()();()();()()hasl(B)=l(A)+3=3; l(E)=L(A)+9=9; l(C)=l(A)+2=2Therefore, nodeBis chosen, with l(B)=3, node Cis chosen, withl(C)=2 and node E is chosen with l(E)=9
Approach to Solving the Shortest Path Length Problem
Looking at the nodes adjacent to B, one hasl(D)=l(B)+2=5; l(E)=L(B)+4=7LookingatthenodesadjacenttoC, one hasLooking at the nodes adjacent toonehasl(E)=l(C)+6=8; l(F)=l(C)+9=11So,l(D)=5 ()is uniquely determined.But l(E)=7, or 8or 9. Hence, node Eis chosen with l(E)=l(B)+4=7Fis chosen withl(F)=11But also ll(F)=l(H)+1. Looking atkl(H)=l(E)+2=9, so Fis chosen with hhl(F)=l(H)+1=10
Approach to Solving the Shortest Path Length Problem
Continuing this way, one obtainsl(A)=0 l(B)=3 l(C)=2 l(D)=5 l(E)=7 l(F)=10l(G)=8l(H)=9l(I)=12l(J)=13l(K)=14l(L)=17l(G)=8 l(H)=9 l(I)=12 l(J)=13 l(K)=14 l(L)=17Final result: total shortest path length =17 from A to L:
SltiSolutions may not be unique, but all will be the shortesttbibtllillbthhtt
…… 此处隐藏:2391字,全部文档内容请下载后查看。喜欢就下载吧 ……相关推荐:
- [教育文库]夜场KTV服务员的岗位职责及工作流程[1]
- [教育文库]企划、网络、市场绩效考核方案
- [教育文库]学党史、知党情、强党性--“党的基本理
- [教育文库]2016年高考物理大一轮总复习(江苏专版
- [教育文库]干部廉洁自律自查自纠的报告
- [教育文库]2010年北京大学心理学系拟录取硕士研究
- [教育文库]资金时间价值练习题及答案
- [教育文库]保护环境的心得体会
- [教育文库]英语角内容:英语趣味小知识
- [教育文库]档案收集与管理工作通知
- [教育文库]劳动规章制度范本范本
- [教育文库]高考物理一轮复习课后限时作业1运动的
- [教育文库]机械工艺夹具毕业设计195推动架设计说
- [教育文库]通用技术教学比赛说课稿2
- [教育文库]2018年四年级英语下册 Module 7 Unit 2
- [教育文库]第2章 宽带IP网络的体系结构
- [教育文库]九年级化学第五单元课题3《根据化学方
- [教育文库]小学英语六年级情态动词用法归纳
- [教育文库]甲级单位编制窑井盖项目可行性报告(立
- [教育文库]2016-2021年中国城市规划行业全景调研
- 高考英语听力十大场景词汇总结
- 全省领导班子思想政治建设座谈会会议精
- 人教版新课标高一英语提优竞赛试题 下
- 江西省2014年生物中考试题
- 长沙镇食品药品安全事故应急预案
- 《金刚石、石墨和C60》片段教学设计
- 福州教育学院(王旭东)
- 基于EDA音乐播放器的设计
- 9、古诗两首《夜书所见》《九月九日忆
- 小学语文课外阅读有效策略探讨
- 贵州文化产业发展成支柱产业的问卷调查
- 膀胱类癌的诊治体会(附3例报告)
- 发动机积碳产生的原因
- Configuring Code Composer Studio for
- 学生良好的心理素质如何培养点滴谈
- 46 电沉积法制备锂离子电池用硅-锂薄膜
- 美舍雅阁公司管理中各部门职责
- 去壳剥皮的小妙招
- 六自由度运动平台的仿真研究
- Pride and Prejudice(傲慢与偏见)




