v2.0.0
New
- Add new type MatrixLike.
munkres()
now acceptsMatrixLike
inputs- Helper functions
getMatrixMax
andgetMatrixMin
now acceptMatrixLike
inputs. - Add new helper functions:
copyMatrix
genMatrix
Updates
- Improve performance by ~10%.
Breaking
-
Rename type
Tuple
toPair
. -
Rename helper functions:
createCostMatrix
->createMatrix
getMaxCost
->getMatrixMax
getMinCost
->getMatrixMin
invertCostMatrix
->invertMatrix
negateCostMatrix
->negateMatrix
Full Changelog: v1.2.4...v2.0.0