Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ameya-dubey
Copy link
Contributor

@ameya-dubey ameya-dubey commented Nov 13, 2020

Hi guys,

I recently stumbled upon the problem which used the Hungarian algorithm. I check e-maxx.ru and found that it had a wonderful description for the algorithm which used Kuhn's algorithm as a subroutine. I then went to check Kuhn's algorithm page, and found that it had not yet been translated.

I am creating this PR to translate the page for Kuhn's algorithm, and will translate the page for the Hungarian algorithm once this PR is merged.

Thanks.

ameya-dubey and others added 5 commits November 13, 2020 16:34
Create an article describing Kuhn's algorithm for finding the maximum matching in a bipartite graph.
Add the link for Kuhn's algorithm for Maximum Bipartite Matching to the index.
@jakobkogler
Copy link
Member

Hey. Thanks a lot for the translation.
I've added two tiny fixes, and formatted/modernized the code a little bit. I hope I didn't broke the code with my changes 😝.

Ideally it would be awesome to refactor the code into a function, that take the graph as input and returns a list of a maximum matching. Then we could add some automated tests that check if the code compiles and returns the correct results. Maybe I'll do this later.

Anyway thanks. And I'm already looking forward to the Hungarian algorithm.

@jakobkogler jakobkogler merged commit d377229 into cp-algorithms:master Nov 14, 2020
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

Successfully merging this pull request may close these issues.

2 participants