第12章グラフ理論
Graph Coloringsグラフの彩色
In this section so far, we have looked at how to navigate graphs by proceeding from one vertex to another in a sequence that does not skip any vertices, but in some applications we may want to skip vertices. Remember the camp Olympics at Camp Woebegone in Comparing Graphs? You were planning a camp Olympics with four events. The campers signed up for the events. You drew a graph to help you visualize which events have campers in common. The vertices of Graph E in Figure 12.87 represent the events and adjacent vertices indicate that there are campers who are participating in both.
英語のヒント

Figure 12.87図12.87
Graphs of Camp Olympics
英語のヒント
キャンプ・オリンピックのグラフ
In this case, we do NOT want events represented by two adjacent vertices to occur in the same timeslot, because that would prevent the campers who wanted to participate in both from doing so. We can use the graph in Figure 12.87 to count the timeslots we need so there are no conflicts. Let’s assign each timeslot a different color. We could categorize events that happen at 1 pm as Red; 2 pm, Purple; 3 pm, Blue; and 4 pm, Green. Then assign different colors to any pair of adjacent vertices to ensure that the events they represent do not end up in the same timeslot. Figure 12.88 shows several of the ways to do this while obeying the rule that no pair of adjacent vertices can be the same color.
英語のヒント

Figure 12.88図12.88
Graph Colorings
英語のヒント
グラフの彩色
In Figure 12.88, the graphs with vertices colored so that no adjacent vertices are the same color are called graph colorings. Notice that Graph 3 has the fewest colors, which means it shows us how to have the fewest number of timeslots. The events marked in red, a and d, can be held at the same time because they are not adjacent and do not have conflicts. Also, the events marked in purple, b and c, can be held at the same time. We would not need green or blue timeslots at all!
英語のヒント
図12.88で、隣接する頂点が同じ色にならないように頂点を塗ったグラフをグラフの彩色という。グラフ3の色がいちばん少ないことに注意しよう。つまり、時間枠をいちばん少なくする方法を示している。赤で印をつけた種目aとdは、隣接せずかち合いがないので同時に開ける。また、紫で印をつけた種目bとcも同時に開ける。緑や青の時間枠はまったく必要ない!
A graph that uses colors is called an -coloring. The smallest number of colors needed to color a particular graph is called its chromatic number.
英語のヒント
色を使うグラフを彩色という。あるグラフを塗るのに必要な色の最小の数を彩色数という。
Graph colorings can be used in many applications like the scheduling scenario at camp Woebegone. Let's look at how they work in more detail. Figure 12.89 shows two different colorings of a particular graph. Coloring A is called a four-coloring, because it uses four colors, red (R), green (G), blue (B), and purple (P). Coloring B is called a three-coloring because it uses three. The colors allow us to visually subdivide the graphs into groups. The only rule is that adjacent vertices are different colors so that they are in different groups.
英語のヒント
グラフの彩色は、キャンプ・ウォービゴーンの日程作りの筋書きのように多くの応用に使える。どう働くかをより詳しく見よう。図12.89は、あるグラフの2つの異なる彩色を示している。彩色Aは、赤(R)、緑(G)、青(B)、紫(P)の4色を使うので4彩色という。彩色Bは3色を使うので3彩色という。色を使うと、グラフを目で見てグループに分けられる。ただ1つの規則は、隣接する頂点が異なるグループに入るように異なる色であることである。

Figure 12.89図12.89
Two Colorings of the Same Graph
英語のヒント
同じグラフの2つの彩色
It turns out that a three-coloring is the best we can do with the graph in Figure 12.89. No matter how many different patterns you try with only two colors, you will never find one in which the adjacent vertices are always different colors. In other words, the graph has a chromatic number of three. For large graphs, computer assistance is usually required to find the chromatic numbers. There is no formula for finding the chromatic number of a graph, but there are some facts that are helpful in Table 12.5.
英語のヒント
| Fact事実 | Example例 |
|---|---|
| Recall that planar graphs are untangled; that is, they can be drawn on a flat surface so that no two edges are crossing. If a graph is planar, it can be colored with four colors or possibly fewer. 平面グラフはほどかれている、つまり2つの辺が交差しないように平らな面に描けることを思い出そう。グラフが平面的なら、4色かそれより少ない色で塗れる。 | ![]() |
| Each vertex in a complete graph is adjacent to every other vertex forcing us to color them all different colors.The chromatic number of a complete graph is the same as the number of vertices. 完全グラフの各頂点はほかのすべての頂点に隣接しているので、すべて異なる色で塗らなければならない。完全グラフの彩色数は頂点の数と同じである。 | ![]() |
| If a graph has a clique, a complete subgraph, then each vertex in the clique must have a different color and the vertices outside the clique may or may not have even more colors. The chromatic number of a graph is at least the number of vertices in its biggest clique. グラフにクリーク、つまり完全部分グラフがあるなら、クリークの各頂点は異なる色でなければならず、クリークの外の頂点はさらに色があってもなくてもよい。グラフの彩色数は、少なくともいちばん大きいクリークの頂点の数である。 | ![]() |


