06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“mcs” — 2017/3/3 — 11:21 — page 496 — #504<br />

496<br />

Chapter 12<br />

Simple Graphs<br />

P OR Q<br />

N<br />

T<br />

F<br />

P<br />

Q<br />

[h]<br />

Figure 12.29<br />

A 3-color OR-gate<br />

(b) Let E be an n-variable propositional <strong>for</strong>mula, and suppose E defines a truth<br />

function f W fT; F g n ! fT; F g. Explain a simple way to construct a graph that is<br />

a 3-color-f -gate.<br />

(c) Explain why an efficient procedure <strong>for</strong> determining if a graph was 3-colorable<br />

would lead to an efficient procedure to solve the satisfiability problem, SAT.<br />

Problem 12.30.<br />

The 3-coloring problem <strong>for</strong> planar graphs turns out to be no easier than the 3-<br />

coloring problem <strong>for</strong> arbitrary graphs. This claim follows very simply from the<br />

existence of a “3-color cross-over gadget.” Such a gadget is a planar graph whose<br />

outer face is a cycle with four designated vertices u; v; w; x occurring in clockwise<br />

order such that<br />

1. Any assignment of colors to vertices u and v can be completed into a 3-<br />

coloring of the gadget.<br />

2. In every 3-coloring of the gadget, the colors of u and w are the same, and the<br />

colors of v and x are the also same.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!