Question: (computability and complexity): A vertex cover in an undirected graph G=(V,E) is a set of vertices U, so that every edge in E Whas at
(computability and complexity): A vertex cover in an undirected graph G=(V,E) is a set of vertices U, so that every edge in E Whas at least one end in U.
We'll define the following function:f(G,v)=minimal vertex cover that v belongs to
the input is an undirected graph G and a vertex v of G.
The function returns an natural number, that is the smallest size of vertex cover in G that v belongs to
1)Prove: If it is possible to compute f in a polynomial time then P=NP
2)Prove: If it is possible to calculate in a polynomial time function g(G,v), and it is guarenteed that
, then P=NP.
please explain every step you do so i can learn from your proof the best. thank you!
f(G,V) - 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
