演算法›Ch4 圖論演算法
第 6 題/共 111 題
◀ AL 6/111
6. Max-Flow、Min-Cut、運動賽事淘汰問題
#AL-04-006難Max-FlowMin-Cut運動賽事淘汰問題

Max-flow algorithms can be applied to determine the elimination of sports teams in a group. Consider the following record for a group of five teams. Note that the number of remaining games for a team does not necessarily equal the number of remaining games against the group's rivals, as teams may play opponents outside their own group. Only the team with the highest number of wins will advance to the next round. Our goal is to determine whether team E has already been eliminated.

The intuition behind constructing the graph is to assume that team E wins all of its remaining 28 (rEr_E) games, and then attempt to ensure that the number of wins for each competing team does not exceed the total possible wins of team E (wE+rE=76w_E + r_E = 76). The constructed graph consists of 12 nodes: in addition to the source (ss) and sink (tt) nodes, there are six nodes representing the head-to-head games between teams A-D and four nodes representing teams A-D. What is the maximum flow value of the constructed graph?

TeamWins (wiw_i)Losses (lil_i)To play (rir_i)team Ateam Bteam Cteam Dteam E
team A755928-5743
team B7163285-244
team C69652872-40
team D637128444-0
team E4886283400-
📄 台大114
跳轉到第題
▤完整推導請見《WH 資工筆記 · 演算法》Ch4 圖論演算法
本章題號 · 1–20 / 111