Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

10. (7 points) In class we saw a in poly-time reduction from 3D Matching to Subset Sum. Recall that the 3D Matching problem gives you

image text in transcribed

10. (7 points) In class we saw a in poly-time reduction from 3D Matching to Subset Sum. Recall that the 3D Matching problem gives you groups of three (aka "triples") to choose from, where each triple has one element from each of three different sets, X,Y, and Z, and then asks whether a subset M of the given triples T can be chosen so that each element of XYZ is in exactly one triple of M, thus forming a so-called "perfect 3D matching". 3D-matching p Subset Sum I.e., Subset Sum can solve the 3D-matching Problem Construction. Let XYZ be a instance of 3D-MATCHING with set T of triples. Let n=X=Y=Z and m=T. - Let X={x2,x2,x1,x4},Y={y1,y2,yy,y4},Z={z1,z2,zy,z4} - For each triple t=(x,y,zk)T, create an integer wt with digits that has a 1 in positions n+, and 2n+. Claim. There is a perfect 3D matching iff some subset sums to W= (a) Complete the blanlos in the figure/slide and table above to illistrate the reduction of the above 3D matching instance into at corresponding subset sum instance. (b) Say/ohow how a subset of the iategers you created that sums to the target sum W, corresponds to a subset MT that forms a perfect 3D matching

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_2

Step: 3

blur-text-image_step3

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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

ISBN: 0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

What is CNC machine and also explain advantages and disadvantages

Answered: 1 week ago

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago