Generator

flow

A generator in the discrete library, called 6 times across 1 essays. Below: what it draws at its defaults and at each mode an essay asks for, what it checks while drawing, and everywhere it is used.

flow is one function. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

A largest flow of 5 through four places and five roads. A network with a capacity on every road, the amount a largest flow sends along each, and the cut whose capacity equals that flow's value drawn as a line separating the places.

show: "cuts"

Every cut of four places and five roads, and the smallest. A table with one row per cut, giving the places on the source's side, the total capacity of the roads leaving that side, and which roads those are, sorted by capacity.

show: "routes"

3 routes that share no road. A network of unit capacities with the routes of a largest flow drawn in different colours, and the roads of the smallest cut marked.

What it checks while it draws

Collected by running the family and recording what it asserted, not written here. The count is how many separate times the claim was put to the test while these drawings were made.

Where it is called

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

The whole library · What the figures prove