Question
(vertex cover): A vertex cover in an undirected graph G=(V,E) is a set of vertices U, so that every edge in E has at least
(vertex cover): A vertex cover in an undirected graph G=(V,E) is a set of vertices U, so that every edge in E has at least one end in U.
We'll define the following function:f(G,v)=size of 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 calcualte function f(G,v) in a polynomial time, and it is guarenteed that , then P=NP.
please write a full proof. if you don't know, please don't answer so others who do know can answer it fully and correctly. thank you
f(G,V) - 5Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started