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, 22.06.2019 16:50
Consider a slotted aloha system, where the time slot equals the fixed duration of each packet. assume that there are 4 stations a,b,c,d sharing the medium. (a) stations a,b,c,d receive one packet each from higher layers at times 1.3, 1.5, 2.6,5.7 respectively. show which transmissions take place when, according to the slottedaloha protocol; describe all transmissions until all four packets have been successful.when needed, each station has access to the following sequence of random number, provided by a random number generator and drawn uniformly between 0 and 1: (1) station a draws numbers: 0.31, 0.27, 0.78, 0.9, 0.9, 0.11, 0. (2) station b draws numbers: 0.45, 0.28, 0.11, 0.83, 0.37, 0.22, 0. (3)station c draws numbers: 0.1, 0.2, 0.3, 0.4, 0. (4) station d draws numbers: 0.36, 0.77, 0.9, 0.1, 0.1, 0.1, 0.1, 0. (b) in slotted aloha, a station transmits in each time slot with a given probability. what probabilities would you assign to each of the four stations so as to: (i) maximize the efficiency of the protocol? (ii) maximize fairness among the four stations? (c) will the efficiency increase or decrease if we modify slotted aloha as follows: (i) get rid of slots and allow stations to transmit immediately? (ii) implement carrier sensing? (iii) implement collision detection? (iv) implement collision avoidance?
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
What are the possible consequences of computer hacking? what is computer piracy? describe some examples. what are the effects of computer piracy? what are the possible consequences of computer piracy? what is intentional virus setting? describe some examples. what are the effects of intentional virus setting? what are the possible consequences of intentional virus setting? what is invasion of privacy? describe some examples. what are the effects of invasion of privacy? what are the possible consequences of invasion of privacy? what is an acceptable use policy and what is the purpose of the acceptable use policy what is intellectual property and how can you use it?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
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, 18.11.2020 09:00
question
Mathematics, 18.11.2020 09:00
question
Mathematics, 18.11.2020 09:00
question
Mathematics, 18.11.2020 09:00
question
History, 18.11.2020 09:10
question
Biology, 18.11.2020 09:10
Questions on the website: 13722367