Skip to content

golf min vertex cover#314

Open
lrvideckis wants to merge 1 commit intokth-competitive-programming:mainfrom
lrvideckis:min_vertex_cover
Open

golf min vertex cover#314
lrvideckis wants to merge 1 commit intokth-competitive-programming:mainfrom
lrvideckis:min_vertex_cover

Conversation

@lrvideckis
Copy link
Copy Markdown
Contributor

@lrvideckis lrvideckis commented Apr 4, 2026

min vertex cover now depends on hopcroft karp instead of dfs matching

see test file for updated usage

I did change how the cover is returned to essentially 2 vector of ints: I prefer this way becuase it allows you to check if a node is in the cover (if cl[u] == 1)

@lrvideckis
Copy link
Copy Markdown
Contributor Author

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.

1 participant