3. Vertex Cover on Planar Graphs. The problem Planar Vertex Cover is to find a smallest set C of vertices in a given planar graph G such that every edge in G has at least one endpoint in C. It is known that Planar Vertex Cover is NP-hard. Develop a polynomial time approximation scheme (PTAS) for the problem.
Algorithm :
Approx-Vertex-Cover(G)
1. C←∅
2. while E ≠ ∅
pick any {u, v} ∈ E
C ← C ∪ {u, v}
delete all edges incident to
either u or v
return C
As it turns out, this is the best approximation algorithm known for
vertex cover. It is an open problem to either do better or prove
that this is a lower bound.
Observation: The set of edges picked by this algorithm is a
matching, no 2 edges touch each other (edges disjoint). In fact, it
is a maximal matching. We can then have the following alternative
description of the algorithm as follows.
Find a maximal matching M
Return the set of end-points of all edges ∈ M .
Analysis :
the algorithm only terminates when all edges are covered
Solution value:
• Let (u 1 , v 1 ), (u 2 , v 2 ), ..., (u k , v k ) be edges picked
in step 2 of the algorithm
• |V C| = 2k
Claim:
OPT ≥ k
• The edges (u 1 , v 1 ), (u 2 , v 2 ), ..., (u k , v k ) are
disjoint.
• For each edge (u i , v i ) , any vertex cover must contain u i or
v i .
Conclusion: k ≤ OPT ≤ |V C| ≤ 2k
In other words: OPT ≤ |V C| ≤ 2OPT .
We have a 2-approximation algorithm.
3. Vertex Cover on Planar Graphs. The problem Planar Vertex Cover is to find a smallest...
Let G = (V;E) be an undirected and unweighted graph. Let S be a subset of the vertices. The graph induced on S, denoted G[S] is a graph that has vertex set S and an edge between two vertices u, v that is an element of S provided that {u,v} is an edge of G. A subset K of V is called a killer set of G if the deletion of K kills all the edges of G, that is...
) A vartex cover is n set af vertices for which esch edge has at lesst ane of its vertices in the set. What is the size of the smallest vertex ㏄ver in the Petersen graph? Give an example of such a set Prove that a smaller set does not exist. A dominating sot is a set of vertices for which all other vertices have nt lenst ane neighbar in this set. What is the e of the smallest dominating...
Show that the following problem is NP-Complete (Hint: reduce from 3-SAT or Vertex Cover). Given an undirected graph G with positive integer distances on the edges, and two integers f and d, is there a way to select f vertices on G on which to locate firehouses, so that no vertex of G is at distance more than d from a firehouse?
Question 1: Given an undirected connected graph so that every edge belongs to at least one simple cycle (a cycle is simple if be vertex appears more than once). Show that we can give a direction to every edge so that the graph will be strongly connected. Question 2: Given a graph G(V, E) a set I is an independent set if for every uv el, u #v, uv & E. A Matching is a collection of edges {ei} so...
Definition: Given a Graph \(\mathrm{G}=(\mathrm{V}, \mathrm{E})\), define the complement graph of \(\mathrm{G}, \overline{\boldsymbol{G}}\), to be \(\bar{G}=(\mathrm{V}, E)\) where \(E\) is the complement set of edges. That is \((\mathrm{v}, \mathrm{w})\) is in \(E\) if and only if \((\mathrm{v}, \mathrm{w}) \notin \mathrm{E}\) Theorem: Given \(\mathrm{G}\), the complement graph of \(\mathrm{G}, \bar{G}\) can be constructed in polynomial time. Proof: To construct \(G\), construct a copy of \(\mathrm{V}\) (linear time) and then construct \(E\) by a) constructing all possible edges of between vertices in...
Assume that the graphs in this problem are simple undirected graphs A. The minimum possible vertex degree in a connected undirected graph of N vertices is: B. The maximum possible vertex degree in a connected undirected graph of N vertices is: C. The minimum possible vertex degree in a connected undirected graph of N vertices with all vertex degree being equal is: D. The number of edges in a completely connected undirected graph of N vertices is: E. Minimum possible...
Give an example of a graph G with at least 10
vertices such that the greedy 2-approximation algorithm for
Vertex-Cover given below is guaranteed to produce a suboptimal
vertex cover.
Algorithm Vertex CoverApprox(G): Input: A graph G Output: A small vertex cover C for G while G still has edges do select an edge e (v, w) of G add vertices v and w to C for each edge f incident to v or w do remove f from G...
3. Consider the the following graphs for each of the two subproblems. Each subproblem can be answered (or blank) independently of the other ( subject to the 4 total blank for partial credit rule). s MST algorithm on the graph below and left, starting with vertex all work done so far: al (40 points) You are runing Prim' a. You are about to take vertex g out of the min-ehave not done so yet. Show the order that vertices wer...
2) Let G ME) be an undirected Graph. A node cover of G is a subset U of the vertex set V such that every edge in E is incident to at least one vertex in U. A minimum node cover MNC) is one with the lowest number of vertices. For example {1,3,5,6is a node cover for the following graph, but 2,3,5} is a min node cover Consider the following Greedy algorithm for this problem: Algorithm NodeCover (V,E) Uempty While...
3. Let G be an undirected graph in which the degree of every vertex is at least k. Show that there exist two vertices s and t with at least k edge-disjoint paths between them.
3. Let G be an undirected graph in which the degree of every vertex is at least k. Show that there exist two vertices s and t with at least k edge-disjoint paths between them.