| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Algorithms.Hungarian
Documentation
Arguments
| :: [Double] | row majored flat matrix |
| -> Int | number of rows |
| -> Int | number of columns |
| -> ([(Int, Int)], Double) |
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