Skip to content

Conversation

@eric7237cire
Copy link
Contributor

Another PR adding a test that shows how to use the max flow to find a maximum matching.

I had to refactor the dinic method a bit to return the flow.

@eric7237cire eric7237cire changed the title Max matching Max bipartite matching Jan 11, 2019
@eric7237cire
Copy link
Contributor Author

This PR actually has the requested changes for PR #5 so merging this one will include both. I hadn't branched the other one. Sorry about that.

Copy link
Owner

@EbTech EbTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, that should work!

@eric7237cire
Copy link
Contributor Author

Cool, that should work!

Yeah I was pretty surprised the iterative DFS on the wikipedia page wasn't the most space efficient. Maybe because its a touch trickier to implement. Who knows.

@EbTech EbTech merged commit 88b0d6f into EbTech:master Jan 17, 2019
@EbTech
Copy link
Owner

EbTech commented Jan 17, 2019

Awesome, I merged it in. Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants