subject

We define the language SUBSET-SUM as follows: SUBSET-SUM = 3 (S, k) : There exists S* C S such that s=k SES*
That is, (S, k) E SUBSET-SUM iff there is a subset of numbers in S such that their sum is
A student would like to prove that the language SUBSET-SUM is NP-Hard by using VERTEX-COVER. They have provided the following reduction but have given no analysis to justify their reduction. As a result, they will gain no points for the analysis of the reduc- tion, but it is still possible that their reduction is correct. As a grader, you need to analyze this reduction to provide the appropriate number of points. The reduction works as follows:
f on input (G= (V, E), k):
(1) Fix an arbitrary ordering on the edges of the graph G.
(2) For each vertex v, generate a number with El + 1 digits where the last digit is 1, and the ith digit is 1 if the įth edge is incident to v. All other digits in this number are 0.
(3) For the ith edge, generate a number with E +1 digits where the ith digit of this number is 1. All other digits in this number are 0.
(4) Output all of the numbers generated and the number 2...2k El copies of 2, followed by k noting that all of the numbers are represented in base k +1.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 15:00, MilanPatel
In excel, what happens to the cell contents when you click and drag a cell into multiple cells?
Answers: 1
image
Computers and Technology, 24.06.2019 18:20, 12375819
Use a while-end loop in a script file to calculate the sum of the first n terms of the series: summation sign on the top n bottom k=1 : )^k * k^2 +5k)/3^k show the script file and the two results of n = 10 and n = 20.
Answers: 2
image
Computers and Technology, 25.06.2019 01:00, shonesam98
Regular maintenance is a key component of automotive lift safety.
Answers: 1
image
Computers and Technology, 25.06.2019 04:00, anthonypacheco
What was the name of the first computer (machine) language?
Answers: 2
You know the right answer?
We define the language SUBSET-SUM as follows: SUBSET-SUM = 3 (S, k) : There exists S* C S such that...

Questions in other subjects: