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

Reduce set covering problem to vertex covering problem #18

Closed
GiggleLiu opened this issue Jul 3, 2024 · 2 comments
Closed

Reduce set covering problem to vertex covering problem #18

GiggleLiu opened this issue Jul 3, 2024 · 2 comments
Assignees
Milestone

Comments

@GiggleLiu
Copy link
Owner

No description provided.

@GiggleLiu GiggleLiu added this to the v0.1 milestone Jul 3, 2024
@c-allergic
Copy link
Collaborator

Vertex Cover

  • Given an undirected graph $G =(V,E)$, a vertex cover is a subset($V'$) of $V$ , $S.t.$ $\forall (u,v) \in E$, at least one vertex in $(u,v) \in V'$

Our goal is to find the minimum vertex cover.

Set Cover

Definition

  • Given a universe (U) and the collection $\mathcal{S}$ of subsets of (U) , a set cover is subcollection $\mathcal{C} \subseteq \mathcal{S}$ such that the unions of $\mathcal{C}$ covers all the element in (U)

Our goal is to find the minimum set cover

Reduce Vertex Cover to Set Cover

We could map the edges set $E$ as the universe and each vertex $v$ corresponds to a subset $S_v$ that contains all the edges connected to $v$. By doing so, we can convert finding the smallest vertex cover to finding the smallest set cover.

Reduce Set Cover to Vertex Cover

Need Help

@c-allergic
Copy link
Collaborator

Solved in #53

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

No branches or pull requests

2 participants