第12章グラフ理論
Creating Colorings to Solve Problems彩色を作って問題を解く
Let’s see how these facts can help us color the graph in Figure 12.90.
英語のヒント
これらの事実を使って図12.90のグラフを塗る方法を見よう。
- Since the graph is planar, the chromatic number is no more than four.
英語のヒント
グラフは平面的なので、彩色数は4以下である。 - The graph is not complete, but it has complete subgraphs of three vertices. In other words, it has triangles like the one shown with blue vertices in Figure 12.90. This means that the chromatic number is at least three.
英語のヒント
グラフは完全ではないが、頂点3つの完全部分グラフがある。言いかえると、図12.90の青い頂点で示すような三角形がある。つまり、彩色数は少なくとも3である。

Figure 12.90図12.90
A Graph with Triangles
英語のヒント
三角形をもつグラフ
We know we can color this graph in three or four colors. It is usually best to start by coloring the vertex of highest degree as shown in Figure 12.91. In this case, we used red (R). The color is not important.
英語のヒント
このグラフは3色か4色で塗れることがわかっている。ふつうは、図12.91に示すように、次数のいちばん高い頂点から塗り始めるのがいちばんよい。この場合、赤(R)を使った。色は重要ではない。

Figure 12.91図12.91
Color Highest Degree Vertex First
英語のヒント
次数のいちばん高い頂点を最初に塗る
We want to color as many of the vertices the same color as possible; so, we look at all the vertices that are not adjacent to the red vertex and begin to color them, red starting with the one among them of highest degree. Since the only vertices that are not adjacent are both degree 2, choose either one and color it red as shown in Figure 12.92.
英語のヒント
できるだけ多くの頂点を同じ色で塗りたいので、赤い頂点に隣接しないすべての頂点を見て、そのなかで次数のいちばん高いものから赤で塗り始める。隣接しない頂点はどちらも次数2なので、図12.92に示すようにどちらかを選んで赤で塗る。

Figure 12.92図12.92
Color More Red from Highest to Lowest Degree
英語のヒント
次数の高いものから低いものへさらに赤を塗る
Now, there is only one vertex left that is not adjacent to a red; so, color it red. Of the remaining vertices, the highest degree is four; so, color one of the vertices of degree four in a different color. These two steps are shown in Figure 12.93.
英語のヒント
これで赤に隣接しない頂点は1つだけ残るので、それを赤で塗る。残りの頂点のうち、いちばん高い次数は4なので、次数4の頂点の1つを別の色で塗る。この2つの手順を図12.93に示す。

Figure 12.93図12.93
Complete the Reds and Start Another Color
英語のヒント
赤を完成させて別の色を始める
Repeat the same procedure. There are three remaining vertices that are not adjacent to a blue. Color as many blue as possible, with priority going to vertices of higher degree as shown in Figure 12.94.
英語のヒント
同じ手順を繰り返す。青に隣接しない頂点が3つ残っている。次数の高い頂点を優先して、図12.94に示すようにできるだけ多く青で塗る。

Figure 12.94図12.94
Repeat Procedure for Color Blue
英語のヒント
青で手順を繰り返す
All the remaining vertices are adjacent to blue. So, it is time to repeat the procedure with another color as shown in Figure 12.95.
英語のヒント
残りの頂点はすべて青に隣接している。だから、図12.95に示すように別の色で手順を繰り返すときである。

Figure 12.95図12.95
Repeat Procedure for Color Purple
英語のヒント
紫で手順を繰り返す
All the vertices are now colored with a three-coloring so we know the chromatic number is at most three, but we knew the chromatic number was at least three because the graph has a triangle. So, we are now certain it is exactly three.
英語のヒント
これですべての頂点が3彩色で塗られたので、彩色数は最大で3であることがわかるが、グラフに三角形があるので彩色数は少なくとも3であることがわかっていた。だから、ちょうど3であると確信できる。
Suppose the vertices of the graph in Figure 12.96 represented the nine events in the Camp Woebegone Olympics, and edges join any events that have campers in common, but nonadjacent vertices do not.
英語のヒント
図12.96のグラフの頂点がキャンプ・ウォービゴーンのオリンピックの9種目を表し、辺が共通の参加者がいる種目を結び、隣接しない頂点には共通の参加者がいないとする。

Figure 12.96図12.96
Coloring for Nine Event Camp Woebegone Olympics
英語のヒント
9種目のキャンプ・ウォービゴーン・オリンピックの彩色
Any vertices of the same color are nonadjacent; so, they have no conflicts. Since this graph is a three-coloring, all nine events could be scheduled in just three timeslots!
英語のヒント
同じ色の頂点は隣接しないので、かち合いがない。このグラフは3彩色なので、9種目すべてをわずか3つの時間枠に組める!
Example 12.22例題 12.22
Understanding Chromatic Numbers彩色数を理解する
In Example 12.17, we discussed a high school, which holds end-of-course exams in (E3) English 3, (E4) English 4, (M) Advanced Math, (C) Calculus, (W) World History, (U) U.S. History, (B) Biology, and (P) Physics. We were given a list of courses that had no students in common. We used that information to find the graph in Figure 12.63, which shows edges between exams with students in common. Use the graph we found in Example 12.17 to answer each question.
英語のヒント

Figure 12.97図12.97
Graph of Exams with Students in Common
英語のヒント
共通の生徒がいる試験のグラフ
- The graph contains a clique of size 4 formed by the vertices P, E3, C, and U. What does this tell you about the chromatic number?
英語のヒント
グラフには、頂点P、E3、C、Uからなる大きさ4のクリークがある。これは彩色数について何を伝えるか。 - The graph is not planar, meaning that you cannot untangle it. What does this tell you about the chromatic number?
英語のヒント
グラフは平面的でない、つまりほどけない。これは彩色数について何を伝えるか。 - Create a coloring by coloring vertex of highest degree first, coloring as many other vertices as possible each color from highest to lowest degree, then repeating this process for the remaining vertices.
英語のヒント
次数のいちばん高い頂点を最初に塗り、次数の高いものから低いものへできるだけ多くのほかの頂点をその色で塗り、残りの頂点についてこの処理を繰り返して彩色を作れ。 - Do you know what the minimum number of timeslots is? If so, what is it and how do you know? If not, what are the possibilities?
英語のヒント
時間枠の最小の数はわかるか。わかるなら、いくらで、どうしてわかるか。わからないなら、どんな可能性があるか。
Solution解答
- We would need four different colors just for the clique with four vertices; so, the chromatic number is at least four.
英語のヒント
頂点4つのクリークだけで4つの異なる色が必要なので、彩色数は少なくとも4である。 - It is possible for the chromatic number to be greater than four.
英語のヒント
彩色数が4より大きいことはありうる。 - Table 12.6表12.6Coloring the Graph
英語のヒント
グラフを彩色する


This is the original graph. Vertex B has highest degree.これがもとのグラフである。頂点Bの次数がいちばん高い。 Color vertex B. Vertex E3 is the only remaining vertex that is NOT adjacent to B.頂点Bを塗る。頂点E3はBに隣接しない唯一の残りの頂点である。 Color vertex E3 the same color. Vertices P, U, W, and C are the remaining vertices with highest degree. Pick one to color.頂点E3を同じ色で塗る。頂点P、U、W、Cは次数がいちばん高い残りの頂点である。1つ選んで塗る。 


Color vertex P a new color. Vertices E4 and M are NOT adjacent to P, and M has higher degree.頂点Pを新しい色で塗る。頂点E4とMはPに隣接せず、Mのほうが次数が高い。 Color vertex M the same color. Vertex E4 is the only remaining vertex NOT adjacent to P or M.頂点Mを同じ色で塗る。頂点E4はPにもMにも隣接しない唯一の残りの頂点である。 Color vertex E4 the same color. Vertices U, W, and C are the remaining vertices with highest degree. Pick one to color.頂点E4を同じ色で塗る。頂点U、W、Cは次数がいちばん高い残りの頂点である。1つ選んで塗る。 


Color U a new color. Vertex W is the only remaining vertex NOT adjacent to U.Uを新しい色で塗る。頂点WはUに隣接しない唯一の残りの頂点である。 Color vertex W the same color. Vertex C is the only remaining vertex that has NOT been colored.頂点Wを同じ色で塗る。頂点Cはまだ塗っていない唯一の残りの頂点である。 Color vertex C a new color. The coloring is final. We used four colors.頂点Cを新しい色で塗る。彩色は完成である。4色を使った。 - Yes, the minimum number of times slots is the chromatic number. We knew the chromatic number had to be at least four because there was a clique with four vertices. Now we have found a four-coloring of the graph which tells us that the chromatic number is at most four. So, we know four must be the chromatic number.
英語のヒント
はい、時間枠の最小の数は彩色数である。頂点4つのクリークがあったので、彩色数は少なくとも4でなければならないことがわかっていた。これでグラフの4彩色を見つけたので、彩色数は最大で4であることがわかる。だから、4が彩色数でなければならないことがわかる。