Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Tripartite Matching is the problem defined as follows . Given an integer n, three disjoint sets A, B,C each having size n, and a set

image text in transcribed

Tripartite Matching is the problem defined as follows . Given an integer n, three disjoint sets A, B,C each having size n, and a set SCAx B x C (that is, a set of triples of the form (a, b, c) such that a E A, b ? B, and c E C), decide if there is a subset T of S in which each member of A. B, and C appears exactly once. This is an abstraction of the following problem: There are some n people, n cars, and n houses. Each person has a list of preferred combination of a car to drive and a house to live. Is there way to assign the cars and houses to the people so that everyone gets one of her favored combinations? Show that Tripartite Matching is in NP. (It is in fact NP-complete, but we do not prove completeness.) Tripartite Matching is the problem defined as follows . Given an integer n, three disjoint sets A, B,C each having size n, and a set SCAx B x C (that is, a set of triples of the form (a, b, c) such that a E A, b ? B, and c E C), decide if there is a subset T of S in which each member of A. B, and C appears exactly once. This is an abstraction of the following problem: There are some n people, n cars, and n houses. Each person has a list of preferred combination of a car to drive and a house to live. Is there way to assign the cars and houses to the people so that everyone gets one of her favored combinations? Show that Tripartite Matching is in NP. (It is in fact NP-complete, but we do not prove completeness.)

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_2

Step: 3

blur-text-image_3

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

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago