Skip to content

v2.0.0

Compare
Choose a tag to compare
@havelessbemore havelessbemore released this 17 Apr 19:28
· 161 commits to main since this release

New

  • Add new type MatrixLike.
  • munkres() now accepts MatrixLike inputs
  • Helper functions getMatrixMax and getMatrixMin now accept MatrixLike inputs.
  • Add new helper functions:
    • copyMatrix
    • genMatrix

Updates

  • Improve performance by ~10%.

Breaking

  • Rename type Tuple to Pair.

  • Rename helper functions:

    • createCostMatrix -> createMatrix
    • getMaxCost -> getMatrixMax
    • getMinCost -> getMatrixMin
    • invertCostMatrix -> invertMatrix
    • negateCostMatrix -> negateMatrix

Full Changelog: v1.2.4...v2.0.0