Hungarian-Munkres-0.1.3: A Linear Sum Assignment Problem (LSAP) solver

Algorithms.Hungarian

Synopsis

hungarian Source

Arguments

row majored flat matrix

number of rows

number of columns

solve the LSAP by hungarian algorithm, return assignment and score

hungarianScore :: [Double] -> Int -> Int -> Double Source

solve the LSAP by hungarian algorithm, return score only