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

Using matching implementation in jgrapht #4

Closed
jkinable opened this issue Apr 26, 2017 · 1 comment
Closed

Using matching implementation in jgrapht #4

jkinable opened this issue Apr 26, 2017 · 1 comment

Comments

@jkinable
Copy link

Hi John,
I'm one of the developers/maintainers of the open source graph library JGrapht . I'm currently revising some of the matching algorithms in our library. While doing so I came across your matching implementation for maximum cardinality matchings (beam/core/src/main/java/uk/ac/ebi/beam/MaximumMatching.java). It seems that this implementation is faster than the implementation we currently have in our library. Therefore, with your permission, I would like to include your version in the library. Obviously, you'll remain the author of the code, and you'll be mentioned on our 'Contributors' page. No additional effort from your side is required.

I made some modifications to your matching code to make it compatible with jgrapht:
Proposed matching implementation in jgrapht
(This is not the final version; I'll have to do some additional testing, streamlining and cleanup )

Thanks!

@johnmay
Copy link
Owner

johnmay commented Apr 26, 2017

Sure no problem but append yourself as an author and to copyright (or whatever JGraphT's policy is there) as you did the adaption. Maybe change the wording on the class javadoc slightly to indicate lineage, something like:

/** 
 * This implementation was ported from Beam SMILES 
 * toolkit (<a href="https://github.com/johnmay/beam">beam</a>) which was adapted 
 * from D Eppstein's python code 
 * (<a href="http://www.ics.uci.edu/~eppstein/PADS/CardinalityMatching.py">src</a>)providing 
 * efficient tree traversal and handling of blossoms.
 * ...
 *
 */

Thanks for reaching out.

@johnmay johnmay closed this as completed Aug 22, 2017
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