Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Porting of max_weighted_matching #52

Open
make-github-pseudonymous-again opened this issue Aug 10, 2015 · 2 comments
Open

Porting of max_weighted_matching #52

make-github-pseudonymous-again opened this issue Aug 10, 2015 · 2 comments

Comments

@make-github-pseudonymous-again

I have a JavaScript version of the max_weighted_matching procedure here. It is not a port of the NetworkX version but of the original implementation made by Joris van Rantwijk. I do not know if this can help.

@fkling
Copy link
Owner

fkling commented Aug 10, 2015

I guess it depends on the data structure your implementation expects. If it can be adjusted to work with JSNetworkX graphs then it would be great to have it!

@make-github-pseudonymous-again
Copy link
Author

Ok I think I can do this. This should be put in a file named JSNetworkX/src/algorithms/matching.js, right?

make-github-pseudonymous-again added a commit to aureooms-contrib/JSNetworkX that referenced this issue Aug 12, 2015
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants