انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Lecture_25_Network models : Maximal Flow Problem

الكلية كلية العلوم للبنات     القسم قسم الحاسبات     المرحلة 3
أستاذ المادة سعد عبد ماضي عنيزي النصراوي       13/05/2013 20:42:28
25.1 Maximal Flow Problem
Algorithm
Step1
Find a path from source to sink that can accommodate a positive flow of material. If no path
exists go to step 5
Step2
Determine the maximum flow that can be shipped from this path and denote by ‘k’ units.
Step3
Decrease the direct capacity (the capacity in the direction of flow of k units) of each branch of
this path ‘k’ and increase the reverse capacity k1. Add ‘k’ units to the amount delivered to sink.
Step4
Goto step1
Step5
The maximal flow is the amount of material delivered to the sink. The optimal shipping schedule
is determined by comparing the original network with the final network. Any reduction in
capacity signifies shipment.
Example 1
Consider the following network and determine the amount of flow between the networks.
Solution
Iteration 1: 1 – 3 – 5
Maximum flow is 60 units. Therefore the network can be written as
Therefore there are no more augmenting paths. So the current flow pattern is optimal. The
maximum flow is 13 units.


المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .