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

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 13:30
Type the correct answer in the box. spell all words correctly. what is the default margin width on all four sides of a document? by default, the document has a margin on all four sides.
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
What type of forensic evidence was recovered during the bomb set off at the new mexico facility on the video that was similar to the evidence obtained at the boston bombings and how did the evidence allow the researchers to connect other pieces of evidence to the same bomb?
Answers: 2
question
Computers and Technology, 24.06.2019 21:40
Clunker motors inc. is recalling all vehicles in its extravagant line from model years 1999—2002 as well as all vehicles in its guzzler line from model years 2004—2007. a boolean variable named recalled has been declared. given a variable modelyear and a string modelname, write a statement that assigns true to recalled if the values of modelyear and modelname match the recall details and assigns false otherwise.
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
question
Spanish, 22.10.2020 05:01
question
English, 22.10.2020 05:01
question
History, 22.10.2020 05:01
question
Mathematics, 22.10.2020 05:01
Questions on the website: 13722367