aboutsummaryrefslogtreecommitdiff
path: root/maxflow.c (unfollow)
Commit message (Collapse)Author
2018-04-22Remove maxflow completely.Simon Tatham
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.
2017-10-07fix loop conditionStefan Bühler
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).
2005-10-13New puzzle: `Tents'. Requires a potentially shared algorithms moduleSimon Tatham
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]