JSNetworkX icon indicating copy to clipboard operation
JSNetworkX copied to clipboard

Porting maxWeightMatching and maximalMatching

Open make-github-pseudonymous-again opened this issue 10 years ago • 2 comments

new files

  • src/algorithms/matching.js (coverage 96.21%)
    • jsnx.maxWeightMatching
    • jsnx.maximalMatching
  • src/algorithms/tests/matching-test.js

modified files

  • package.json
    • corrected a typo in script/cover (nom -> npm)
  • src/_internals/Set.js
    • added an update method to the set class (like Python's set() update), union for sets rewritten to use this new method
  • src/algorithms/index.js
    • added exports for new matching algorithms

Thanks for that! I will have a closer look and answer your questions on the weekend. I just don't find the time during the week.

fkling avatar Aug 13 '15 05:08 fkling

Got time to merge this?