/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q30P Let SET-SPLITTING collection of... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Let SET-SPLITTINGcollection of subsets of S, for some k>0, such that elements of S can be colored red or blue so that no Ci has all its elements colored with the same color}. Show that SET-SPLITTINGis NP-complete.

Short Answer

Expert verified

This concludes that satisfying assignment forϕ.

Step by step solution

01

Step 1:prove that Set-splitting value

1.SET – SPLITING is in NP :

SET – SPLITING is in NP because we can verify in polynomial time that no subsetis monochromatic.

3 SAT ⩽pSET - SPLITING :

To prove that the problem is NP complete, we give a polynomial time reduction from S A T to SETSPLITINGÏ•.

02

Assignment of the Set

The splitting is done as follows:

If is satisfiable, consider a satisfying assignment.

If we color all the true literals red, all the false ones are blue, and y blue, then every subsetCi ofS has at least one red element (because it is satisfiable and it also contain one blue element y.

In addition, for a given splitting ⟨S,C⟩, we can able to set the literals that are colored differently from y to true.

In the same way, we can able to set the literals that have the same color as y to false.

This concludes that satisfying assignment for Ï•.

Thus, SET - SPLITTING is NP-Complete.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.