南京大学:《计算机问题求解》课程教学资源(课件讲稿)图中的匹配与覆盖(图中的匹配与因子分解)

计算机问题求解-论题3-11 图中的匹配与因子分解 2016-11-23
计算机问题求解---论题3-11 图中的匹配与因子分解 2016-11-23

要在左图所示的棋盘上放 × 置4个士兵,任何一行或者 一列恰好放一个,但不能 X 放在有标记的格子中。 × × 问题1: × 你能建一个图 模型来解这样 的问题吗?

X X 问题2: 你认为在这个 模型中。问题的 解应该是什么? 边集的一个子集,其中没有任何两条边有公共顶点
i1 i2 i3 i4 j1 j2 j3 j4 边集的一个子集, 其中没有任何两条边有公共顶点

什么是matching? d 8 A B D E (a) (b) Figure 8.2:A matching in a bipartite graph 独立边集是匹配的核心概念。问题3:你能用集 合论里面的基本概念解释matching吗?极大匹配? 完美匹配?
什么是matching? 独立边集是匹配的核心概念。问题3:你能用集 合论里面的基本概念解释matching吗?极大匹配? 完美匹配?

匹配、极大匹配、最大匹配、完美匹配 e e e3 e e2 e e es e es )6 6 6
匹配、极大匹配、最大匹配、完美匹配 v1 v2 v3 v4 v5 v6 e1 e4 e2 e3 e5 v1 v2 v3 v4 v5 v6 e1 e4 e2 e3 e5 v1 v2 v3 v4 v5 v6 e1 e4 e2 e3 e5

二部图中最大匹配的存在性 Theorem 8.3 Let G be a bipartite graph with partite sets U and W such that r Us W.Then G contains a matching of cardinality r if and only if G satisfies Hall's condition. 必要性: G B D F K L M
二部图中最大匹配的存在性 必要性:

Theorem 8.3 Let G be a bipartite graph with partite sets U and W such that r =Us W.Then G contains a matching of cardinality r if and only if G satisfies Hall's condition. ·充分性 ·奠基:|U川=1,显然 你能想到用数学 归纳法证明吗? ·假设:IU≤Wand1≤IUIS引,是成立的。否则,很难看出 现在你能理解为什么在归纳证明中,需要分情形证明了吗?
• 充分性 • 奠基: |U|=1,显然 • 假设: 结论成立 • 归纳证明要点: • 从U任取一个u,从N(u)中任取一个w,构造H:G-{u,w}:H满足Hall条件吗? • 如果对U的任意子集S,|N(S)|>|S|,是成立的。否则,很难看出 你能想到用数学 归纳法证明吗? 现在你能理解为什么在归纳证明中,需要分情形证明了吗?

Case 2.There exists a proper subset X ofU such that N(X)=X.Let F be the bipartite subgraph of G with partite sets X and N(X).Since Hall's condition is satisfied in F,it follows by the induction hypothesis that X can be matched to a subset of N(X).Indeed,since N(X)=X],the set X can be matched to N(X).Let M'be such a matching. Next,consider the bipartite subgraph H of G with partite sets U-X and W-N(X).Let S be a subset of U-X and let S'=N(S)n(W-N(X)). We show that |Ss S'l.By assumption,N(XUS)XUS.Hence N(X)川+ISI=lN(XUS)I≥X|+S

这个定理的直观含义是什么? Theorem 8.4 A collection {S S2,...S of nonempty finite sets has a system of distinct representatives if and only if for each integer k with 1 s k s n,the union of any k of these sets contains at least k elements. For example,consider the sets S,S,...S,where S1={1,2,3}S2={2,4,6} S3={3,4,5} S4={1,4,7} S5={1,5,6} S6={3,6,7} S7={2,5,7} Then this collection of sets has a system of distinct representatives.In particular,1,2,.... 7(that is,i S;for i=1,2,...,7)is a system of distinct representatives.On the other hand,the setswhere S1={1,3,5,6}S%={3,4} S3={4,5} S4={3,4,5} Sg={1,2,4,6}S%={3,5}, do not have a system of distinct representatives as S2UUUS={3,4,5 so distinct representatives do not exist for the sets
这个定理的直观含义是什么?

边独立集(Edge Independent Set) ·边独立集(edge independent set)匹配 A set of independent edges of G 。 极大边独立集(maximal edge independent set)极大匹配 一不是任何一个边独立集的真子集 ·最大边独立集(maximum edge independent set)最大匹配 -具有最大势(cardinality)的边独立集 · 边独立数(edge independence number)最大匹配的势 一最大边独立集的势 -a'(G) V2 V e1 e V e es 10
边独立集(Edge Independent Set) 10 v1 v2 v3 v4 v5 v6 e1 e4 e2 e3 e5 v1 v2 v3 v4 v5 v6 e1 e4 e2 e3 e5 v1 v2 v3 v4 v5 v6 e1 e4 e2 e3 e5 匹配 极大匹配 最大匹配 最大匹配的势
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)旅行问题(图旅行).pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图中的连通度和距离.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)多源最短通路算法 All-Pair Shortest Paths.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)单源最短通路算法.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)树.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图的计算机表示以及遍历.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图的基本概念.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)B树.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)用于动态等价关系的数据结构.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)贪心算法.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)动态规划.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合及其运算.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)递归及其数学基础.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)计算思维引导.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)组合与计数.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)算法的效率.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)算法的基本结构.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)算法正确性.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)算法方法.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)离散概率基础.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)最大流算法.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图论的其它专题(平面图与图着色).pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)矩阵计算.pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)线性规划.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)群初步.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)群同态基本定理与正规子群.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)数论基础.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)代数编码.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)密码算法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)NP完全理论初步.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)串匹配.ppt
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)近似算法的基本概念.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)算法问题的形式化描述.pptx
- 《计算机问题求解》课程参考书籍:《算法学——计算精髓》PDF电子版(Algorithmics - The Spirit of Computing,THIRD EDITION,David Harel).pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)为什么计算机能解题.ppt
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)什么样的推理是正确的.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)基本的算法结构.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)常用的证明方法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)计算思维引导.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)如何将算法告诉计算机.pptx