LightMySky
به انگلیسی

Network Flow and the Max-Flow Min-Cut Theorem

Flow pushes as much as possible from a source to a sink without exceeding any edge's capacity. Augmenting paths in a residual graph find the maximum, and the theorem says that maximum equals the cheapest set of edges whose removal disconnects the two.

شروع یادگیری این موضوعبه حساب کاربری نیازی نیست. پیشرفت در همین مرورگر ذخیره می‌شود.

کارهایی که یادگیرنده بعد از این درس می‌تواند انجام دهد

  • Find a maximum flow by repeatedly augmenting along paths in the residual graph
  • Identify the minimum cut and check its capacity equals the flow
  • Model bipartite matching as a flow problem and read the matching off the answer

۱ · بخوان

After cheapest routes, the next puzzle is how much can travel at once. A flow network pushes as much as possible from a source to a sink without exceeding any edge's capacity. You keep pushing along paths with leftover room until no such path remains.

Try it together

Edges from the source hold 4 and 3, and edges into the sink hold 3 and 5. Pushing carefully moves 7 units in total. The cheapest edge set whose removal disconnects source from sink also costs 7. Maximum flow equals minimum cut, every time.

flow7cut7

The residual graph is your working map: it shows remaining room forward and undo room backward. Each augmenting path adds its bottleneck amount. When no path is left, the flow is maximum and the reached nodes mark the minimum cut.

To match workers to jobs, build a flow network: source to each worker, edges for who can do what, each job to the sink, every capacity 1. Run the flow and read the matching off the used middle edges.

Augment along leftover room until none remains, and the flow you pushed equals the cheapest cut.

۲ · ببین

به انگلیسی

دور از صفحه‌نمایش

چاپ کاربرگکاغذ A4، با یک صفحهٔ جواب‌ها برای بزرگ‌ترها. بدون صفحه‌نمایش، بدون اینترنت.

جایگاه این موضوع

سپس تمرین

۸ سؤال پشت این درس منتظرند، هر کدام با پاسخ توضیح‌داده‌شده. هر پاسخ آسمان را پر می‌کند: ستاره‌ها هنگام یادگیری روشن می‌شوند و وقتی زمان برگشتن است کمرنگ می‌شوند.

شروع یادگیری این موضوع