id summary reporter owner description type status priority milestone component version resolution keywords cc revision 306 Tolerance in min cut algorithms Peter Kovacs Peter Kovacs " 1. In `HaoOrlin` class the `Tolerance` type can be set by an optional template parameter and the tolerance object can be set by an optional constructor parameter. On the other hand, in `Preflow` and `Circulation` classes `Tolerance` can be set using a named template parameter and the object can be set using `tolerance()` function. Maybe it would be better to apply the same solution for them, since `HaoOrlin` is a quite similar algorithm class. Another reason is that the solution applied in `HaoOrlin` provides less flexibility and seems to be a bit strange compared to the interface of other classes. As far as I understand this class implements a data structure that is similar to the elevator structures. Maybe it could be replaced by elevators, but then a traits class would be needed. However introducing traits class for `HaoOrlin` (just like in `Preflow` and `Circulation`) would cause a small incompatibility with the latest release (only in optional parameters). What do you think? Would it be important to modify this solution? Would it be allowable after the release of this class? 2. For `GomoryHu` class `Tolerance` type/object cannot be set, however it could be useful. The tolerance type and object could be passed to the `Preflow` instances used by the algorithm." task closed major LEMON 1.2 release core hg main fixed