- 1、本文档共11页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
求解最大流问题的matlab程序(Matlab program for solving maximum flow problems)
求解最大流问题的matlab程序(Matlab program for solving maximum flow problems)
Maximum flow algorithm
Algorithm idea: the maximum flow problem is actually a feasible flow {fij}, which makes the V (f) reach the maximum. If you give a feasible flow F, as long as there is no judgment in N augmenting path on the F, if there is an augmented path, improved F, a new feasible flow rate increases; if there is no augmenting path, get the maximum flow.
1. labeling method for maximum flow (Ford, Fulkerson)
Starting with a feasible flow (a general zero flow), the following labeling procedure and the adjustment process are followed until no augmenting path about F can be found.
(1) labeling process
In this process, the points in the network are divided into labeled and unlabeled points, and the labeled points are divided into two kinds: checked and unchecked. Each label label information points are expressed in two parts: the first label show that the label from which point to start the traceback path from the VT to find out is augmented; second label is said to have checked whether the vertex.
At the start of the label, mark vs (s, 0), when vs is the label, but at the end of the check point, and the rest are unlabeled points, denoted as (0, 0).
Take a label without checking the point VI, for all unlabeled points, vj:
A. for arc (VI, VJ), if fijcij, then give the VJ label (VI, 0), then the VJ point becomes the label, which is not checked.
B. for arc (VI, VJ), if fji0, then give the VJ label (-vi, 0), then the VJ point becomes the label, which is not checked.
Thus, VI becomes a labeled and checked point, and its second label is denoted as 1. Repeat the steps above and, once VT is marked, indicate an extended path from VI to P, and VT into the adjustment process.
If all the labels have been checked and the label process fails, the algorithm ends with the feasible flow being the maximum flow.
(2) adjustment process
From the VT point, through the first label of each point, backward tracing, we c
您可能关注的文档
- 施工放线(工地实用)(Construction release (site utility)).doc
- 施工的工艺流程(Construction process).doc
- 旅游知识问答(Travel quiz).doc
- 施工放线之内控法怎样操作施工放线之内控法怎样操作(How to operate the internal control method of construction line and how to operate the internal control method).doc
- 旅游网络公共关系营销探索(Exploration of public relations marketing in Tourism Network).doc
- 旅游规划应着力的八个要点(Eight points to be stressed in tourism planning).doc
- 施工残忆(Construction remnant).doc
- 无心磨床加工的磨削缺分析(Analysis of grinding loss in centerless grinding machine).doc
- 无损检测标准一览表(List of standards for nondestructive testing).doc
- 无比打字口诀(Very typing formulas).doc
文档评论(0)