Minimum cost spanning trees, We have a graph with node set (0,...,n-1) and we de
ID: 3697312 • Letter: M
Question
Explanation / Answer
Let the set c and c* be the sets output by APPROX-VERTEX-COVER and OPTIMAL-VERTEX-COVER respectively. Also, let A be the set of edges selected by line 4.
Because, we have added both vertices, we get c = 2|A| but OPTIMAL-VERTEX-COVER would have add one of two.
=> c/c* p(n) = 2.
Formally, since no two edge in A are covered by the same vertex from c* (since, once an edge is picked in line 4, all other edges that are incident on its endpoints are deleted from E` in line 6) and we the lower bound:
|c*| A ---------------------------------- 1
On the size of an OPTIMAL-VERTEX-COVER.
In line 4, we picked both en points yielding an upper bound on the size of Vertex-Cover.
|c| 2|A|
Since, upper bound is an exact in this case, we have
|c| = 2|A| ---------------------------------- 2
Take |c|/2 = |A| and put it in equation 1
|c*| |c|/2
|c*|/|c| 1/2
|c*|/|c| 2 = p(n)