Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Alice, Bob and you have been studying graph algorithms. You understand the reduction between Independent Set and Clique quite well but are now considering

  

Alice, Bob and you have been studying graph algorithms. You understand the reduction between Independent Set and Clique quite well but are now considering another of Karp's 21 Problems. A vertex cover is a set of vertices in a graph such that every edge in the graph has at least one end point in the set. That is, no edge is left uncovered with both of its endpoints not in the set. Vertex Cover (VC) Input: G= (V,E) a undirected graph and k0. Output: "yes" if there exists a set of vertices V' of size k such that every edge has at least one endpoint in V', "no" otherwise. a) (2 points) What is the size of the smallest vertex cover on this graph? b) (2 points) You want to show that Vertex Cover is in NP so you will create a verifica- tion algorithm. What type of proof would you accept to convince you that there is a vertex cover of size k? c) (3 points) Give pseudocode for a verification procedure for Vertex Cover. d) (3 points) Argue your verification procedure is correct for Vertex Cover. e) (5 points) Show that Vertex Cover is NP-complete by reducing one of Clique or Independent Set to Vertex Cover. That is, show that A p Vertex Cover for your choice of problem A.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Financial Accounting

Authors: Fred Phillips, Robert Libby, Patricia Libby

5th edition

78025915, 978-1259115400, 1259115402, 978-0078025914

More Books

Students also viewed these Computer Network questions

Question

Find the radius and volume of the 10743Tc nucleus.

Answered: 1 week ago

Question

Explain the concept of latent learning.

Answered: 1 week ago