Answered step by step
Verified Expert Solution
Question
1 Approved Answer
[ C Program ] a Reductions and Boolean Satisfiability I ( Split graphs recognition ) Boolean satisfiability ( SAT ) is , as far as
C Program a Reductions and Boolean Satisfiability I Split graphs recognition Boolean satisfiability SAT is as far as Computer Scientists know, a hard problem. We will define precisely what we mean by this later on in the course. This problem is defined as follows: The input is a collection of m clauses over n boolean variables X X Xn Each clause is a disjunction of some of the variables or their complements. The problem consists in answering the question Is there a way to assign truth values to each variable that makes every clause of the instance TRUE? For instance, here is an instance of SAT made of clauses over variables: XV X XV XV X X X X Equivalently, you could think of this instance as the single boolean expression XV XXVX V XX V X A X There are many other problems whose level of difficulty is similar to that of Boolean Satisfiability, and this problem has attracted a lot of research. So while the problem is difficult to solve in general, a number of tools to solve instances of the problem have been developed see the Wikipedia page for details and links We can take advantage of these tools to solve other problems using reductions. In this question, we will look at the problem of determining whether or not a graph is a split graph. A graph G V L is a split graph if we can partition its vertex set V into two subsets V V such that V V UV Vin V every two vertices of Vi are connected by an edge Vu E V VW Vv w E and no two vertices of V are connected by an edge Vv E V VW E Vvw &E For instance, the following graph is a split graph, where the vertices of Vi are colored Red, and the vertices of V are colored Blue. B B B R R B R B RO B R points Show how to reduce a arbitrary instance of the split graph recognition problem into an instance of Boolean Satisfiability SAT Ilint: you will want to introduce a single variable for each vertex of the graph. point Write the collection of clauses you would get for the following graph: points What is the length of the instance of SAT that your algorithm generates, as a function of the number n of vertices, and the number m of edges of the input graph G points Explain briefly why, if an input graph is a split graph, then there is a way to assign values to the variables in the instance of SAT that makes every clause TRUE. points Explain briefly why, if there is a way to assign values to the variables in the instance of SAT that makes every clause TRUE, then the graph used to generate the instance must be a split graph. Show how you would determine which vertices of G belong to which of the two subsets of V
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started