Closed Gluttton closed 10 years ago
Ah, yes. This could be more clear - the idea is that you call the minimize_along_direction function for each direction (either over columns, or over rows). To minimize in both directions, the function needs to be called twice (once with over_columns = false, and once with over_columns = true). I merged the two separate functions (minimize_rows() and minimize_columns()) into this one to reduce duplication, but it did make the operation a bit more opaque. :(
As part of the debugging I'm doing, I've changed the test case to fix it.
OK. Closed.
Based on test:
MunkresTest.minimize_along_direction_5x5_OverRowsAndColumns_Success
result of functionminimize_along_direction
withover_columns = true
is wrong.Possibly reason (in my opinion):