Question: Let G = ( V , E ) be an undirected graph with vertex set V and edge set E . A 3 - coloring

Let G =(V,E) be an undirected graph with vertex set V and edge set E. A 3-coloring of G is a map \chi : V ->{R, B, Y } such that if {x, y} in E then \chi (x)=\chi (y).(Here R, B, Y represent the colors red, blue, yellow.)
17
(a) Suppose n >1 and let Vn ={0,1,...,n1} and let Gn =(Vn,En) be an undirected graph with vertex set Vn. For each i,0<= i < n let Ri, Bi, Yi be propositional variables. (Intuitively Ri assert that node i is colored red, and Bi,Yi assert it is colored blue, yellow, respectively.
Give a propositional formula An using the variables {Ri, Bi, Yi |0<= i < n} such that An is satisfiable iff Gn has a 3-coloring. Do this in such a way that An can be computed efficiently from Gn (e.g. dont define An to be R1 if Gn has a 3-coloring and (R1R1) otherwise).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!