e中每一边都有正的加权值c(e)capacity..docx

e中每一边都有正的加权值c(e)capacity..docx

n etwork flow ——maximum flow network: G=(V,E) be a directed graph with 2 distiguish vertices, s(the source) with in degree 0 , and t (the sink) with outdegree 0. E中每一邊都有正的加權值 c(e): capacity of e=此種graph稱為network flow a flow is a function on edges of the network滿足下歹U 2 條件: 0 f (e) c(e)經某一 edge之流量(f)不可以超過它的容量(c) For all v V {s,t}, f (u,v) f (v,w)進入某一 vertex的總流量等於離開 u w (exit ing)這節點的總流量。 二、 reduc ing bipartite match ing to n etwork flow 給予一 bipartite graph G=(V,E,U) 做法:增加二個新的點s,t,將s連接到V中所有邊,U中所有邊連接到t,新修 正 graph 為 G let M be a matchi ng in G 在 M及G的flow之間有一自然對映,在 M的所 有edges皆設定其flow為1,s、t到M的所有Match

文档评论(0)

1亿VIP精品文档

相关文档