04.09.2013 Views

Algorithm Design

Algorithm Design

Algorithm Design

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

568<br />

Chapter 10 Extending the Limits of Tractability<br />

~ colonngs of (a, b, }’~<br />

and {a", b", c"} must be /<br />

~.nsistent..)<br />

Figure 10.3 (a) Cutting through the cycle in an instance of Circular-Arc Coloring, and<br />

then u~rolling it so it becomes, in (b), a collection of intervals on a line.<br />

pieces of the same path Pi on G, it’s not clear how to take the differing colors<br />

of P~ and P~’ and infer from this how to color Pi on G. For example; having<br />

~ a get the set of intervals pictured in<br />

sliced open the cycle in Figure 10.a(), we<br />

Figure 10.3 (b). Suppose we compute a coloring so that the intervals in the first<br />

row get the color 1, those in the second row get the color 2, and those in the<br />

~d row get the color 3. Then we don’t have an obvious way to figure out a<br />

color for a and c.<br />

This suggests a way to formalize the relationship between the instance<br />

Circular-Arc Coloring in G and the instance of Interval Colorifig in G’.<br />

10.3 Coloring a Set of Circular Arcs<br />

(10.9) The paths in G can be k-colored if and only if the paths in G’ can be<br />

k-colored subject to the additional restriction that P~ and P[’ receive the same<br />

color, for each i = 1, 2 .....<br />

Proof. If the paths in G can be k-colored, then we simply use these as the colors<br />

in G’, assigning each of P[ and P[’ the color of Pi- In the resulting coloring, no<br />

two paths with the same color have an edge in common.<br />

Conversely, suppose the paths in G’ can be k-colored subject to the<br />

additional restriction that P[ and P[’ receive the same color, for-each i =<br />

1, 2 ..... k. Then we assign path Pi (for i < k) the common color of P[ and<br />

P[’; and we assign path Pj (for j > k) the color that Pj gets in G’. Again, under<br />

this coloring, no two paths with the same color have an edge in common. []<br />

We’ve now transformed our problem into a search for a coloring of the<br />

paths in G’ subject to the condition in (10.9): The paths P[ and P[’ (for 1

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

Saved successfully!

Ooh no, something went wrong!