【COMP282 LEC8 The Maximum Flow ProblemBipartite Matchings】

Digraph

1. Edges all directed

2. A fundamental issue with directed graphs is the notion of reachability, which deals with determining where we can get to in a directed graph.

 3. Given two vertices u and v of a digraph G, we say that u reaches v (or v is reachable from u) if G has a directed path from u to v.

4. Digraph is Strongly connected if we have that u reaches v, and v reaches u.

5. Acyclic if it has no directed cycles.

Weight digraph

1. A weighted graph is a graph that has a numerical label w(e) associated with each edge e, called the weight of e.

Network Flow - The basics 

Ford-Fulkerson algorithm

The Ford-Fulkerson algorithm depends on three important ideas :

1. residual networks

2. augmenting paths

3. cuts

These three ideas are essential for the important Max-Flow/Min-Cut theorem.

Residual Networks 

1. A residual network consists of edges that can admit more net flow.

2. Given the flflow network G, and a flflow f in that network, we defifine the residual network Gf  (So this depends upon the given flflow f.)

Augmenting Paths 

Update the flow

  

Cuts in Network

其实就是一次一次的列举 找出minimum capacity of the cuts

Max-Flow/Min-Cut Theorem

The maximum flow is a network is equal to capacity of a minimum cut in the network

Complexity of the Ford-Fulkerson algorithm

。。。。有点难

不是很懂

Bipartite graphs

Matching

A matching is a subset of the edges of a bipartite graph where each vertex appears in at most one edge (i.e. edges in the matching share no common endpoints). 一个顶点最多使用一次

1. determining the size of the largest matching in a bipartite graph

2. To use the algorithm, 我们需要先处理一下bipartite graph :a : adding two new vertices, a source vertex s and a sink vertex t  b: Join all vertices in X to s and all vertices in Y to t. Direct all edges from s to X, from X to Y, and from Y to t. c : Give each edge a capacity of 1.

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值