Question: Let G = ( V , E ) be an undirected graph with vertex set V and edge set E . A 3 - coloring
Let G VE be an undirected graph with vertex set V and edge set E A coloring of G is a map chi : V R B Y such that if x y in E then chi xchi yHere R B Y represent the colors red, blue, yellow.
a Suppose n and let Vn n and let Gn VnEn be an undirected graph with vertex set Vn For each i i n let Ri Bi Yi be propositional variables. Intuitively Ri assert that node i is colored red, and BiYi assert it is colored blue, yellow, respectively.
Give a propositional formula An using the variables Ri Bi Yi i n such that An is satisfiable iff Gn has a coloring. Do this in such a way that An can be computed efficiently from Gn eg dont define An to be R if Gn has a coloring and RR otherwise
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
