Skip to content

Maximum flow

networks

Level 3 of 3

Also called Edmonds-Karp algorithm and Ford-Fulkerson method.

fresh numbers

The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from maximum flow's own run on the numbers shown.

choose one

question 1

How much reaches G on this map, sent from A?

9448922A0BCEFG0
the answer, and why

the answer is D

The ways found send 2 + 2, 4 in all, as much as the roads into G allow.

if you chose another

  • That is A's limits added. The roads into G allow only 4.
  • That is the first way alone.
  • That is A to B and E to F, a cut of 18, 9 + 9. The roads into G make a narrower cut, 4.

new numbersthe test page's numbers

question 2

How many looks does the run make on this line of 5 places, every limit 1?

1111C0DF0GH
the answer, and why

the answer is B

The first search makes 4 looks and the way fills every road. The second search makes 1 look along the full first road, so 5.

if you chose another

  • That is the first search alone.
  • That is a fan of 5, not a line.
  • That is the ways sent along, not the looks.

new numbersthe test page's numbers

question 3

On which map does the run make the most looks? B>C 3 means a road from B to C with a limit of 3, and the last two letters are the source and the sink.

the answer, and why

the answer is B

The run makes 3 looks on D>H 1, F>B 3, E>F 2, B>G 1, H>G 2; B H, the most of the four.

if you chose another

  • That map makes 1 look, fewer than 3.
  • That map makes 2 looks, fewer than 3.
  • That map makes 1 look, fewer than 3.

new numbersthe test page's numbers