HungarianAlgorithm.reduce

Reduce the cost matrix by subtracting the smallest element of each row from all elements of the row as well as the smallest element of each column from all elements of the column. Note that an optimal assignment for a reduced cost matrix is optimal for the original cost matrix.

struct HungarianAlgorithm(T)
pure
void
reduce
()

Meta