Chapter 7 Network Flow

Chapter 7 Network Flow

华文慕课

the maximum-flow problem

  • Given a flow network, goal is to arrange the traffic so as to make as efficient use as possible of the available capacity.

Designing the Algorithm

  • dynamic programming DOES NOT work
  • go back and think about greedy algorithm

容量网络的定义

  • 有向连通图

    G=V,G G = ( V , G )

  • 容量(capacity)

    ce>=0 c e >= 0

    对于每一条边e

  • 发点(source node) s∈V

  • 收点(sink node) t∈V

Defining Flow

  • the value of f(e) intuitively represents the amount of flow carried by edge e.

  • properties

    • (Capacity conditions)For each e∈E,

    0<=f(e)<=ce 0 <= f ( e ) <= c e

    • (Conservation conditions)For each node v other than s and t, we have

      e into vf(e)=e out of vf(e) ∑ e   i n t o   v f ( e ) = ∑ e   o u t   o f   v f ( e )

    • 满足上述条件的f,称为G上的一个可行流

  • The value of a flow f, denoted v(f), is defined to be the amount of flow generated at the source

    v(f)=e out of sf(e) v ( f ) = ∑ e   o u t   o f   s f ( e )

    解释:发点s的净流出量为f的流量

  • 最大流:流量最大的可行流 f*

最大流问题的线性规划表述

  • 在特定的条件下,使得v(f)最大

割集(cut)、割集的容量、最小割集

  • 设容量网络N= < V,E,c,s,t >

  • A∈V 且 s∈A,t∈A‘


  • AA={<i,j>|<i,j>E and iAjA} ( A , A ′ ) = { < i , j > | < i , j >∈ E   a n d   i ∈ A , j ∈ A ′ }

    为N的割集。(也就是边的集合)

  • c(A,A)=<i,j>A,Ac(i,j) c ( A , A ′ ) = ∑ < i , j >∈ ( A , A ′ ) c ( i , j )

    称为割集(A,A’)的容量

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值