aboutsummaryrefslogtreecommitdiff
path: root/maxflow.c (follow)
Commit message (Collapse)AuthorAge
* Remove maxflow completely.Simon Tatham2018-04-22
| | | | | | | | Its ability to solve general network flow problems was never actually used in this code base; it was _always_ used for the restricted problem of finding a matching in an unweighted bipartite graph. So now I've switched all its clients over to the new matching.c, maxflow is no longer needed.
* fix loop conditionStefan Bühler2017-10-07
| | | | | | | | prev[sink] == 0 means there was a path found with the last step being a forward edge to the sink, and the edge being at index 0 in the array. This is a valid path (the same as any other path indicated by prev[sink] > 0).
* New puzzle: `Tents'. Requires a potentially shared algorithms moduleSimon Tatham2005-10-13
maxflow.c. Also in this checkin, fixes to the OS X and GTK back ends to get ALIGN_VNORMAL right. This is the first time I've used it! :-) [originally from svn r6390]