プリンキピア

第12章グラフ理論

Chinese Postman Problem中国人郵便配達問題

At Camp Woebegone, campers travel the waterways in canoes. As part of the Camp Woebegone Olympics, you will hold a canoeing race. You have placed a checkpoint on each of the 11 different streams. The competition requires each team to travel each stream, pass through the checkpoints in any order, and return to the starting line, as shown in the Figure 12.114.
英語のヒント
キャンプ・ウォービゴーンでは、参加者はカヌーで水路を進む。キャンプ・ウォービゴーン・オリンピックの一部として、カヌーレースを開く。11の異なる川にそれぞれチェックポイントを置いた。競技では、各チームが各川を進み、チェックポイントをどの順でも通り、図12.114に示すようにスタートラインに戻らなければならない。
A map of canoe event checkpoints. The map has vertices labeled from A to K. The start point is also marked on the map.
Figure 12.114図12.114
Map of Canoe Event Checkpoints
英語のヒント
カヌー種目のチェックポイントの地図
Since the teams want to go as fast as possible, they would like to find the shortest route through the course that visits each checkpoint and returns to the starting line. If possible, they would also like to avoid backtracking. Let’s visualize the course as a multigraph in which the vertices represent turns and the edges represent checkpoints as in Figure 12.115.
英語のヒント
チームはできるだけ速く進みたいので、各チェックポイントを訪れてスタートラインに戻る、コースの最短経路を見つけたい。できれば後戻りも避けたい。図12.115のように、頂点が曲がり角を表し、辺がチェックポイントを表す多重グラフとしてコースを思い描こう。
A multigraph of canoe event checkpoints. The map has seven vertices. The vertices are connected via edges resembling a closed trail. The start point is also marked on the map.
Figure 12.115図12.115
Multigraph of Canoe Event
英語のヒント
カヌー種目の多重グラフ
The teams would like to find a closed walk that repeats as few edges as possible while still visiting every edge. If they never repeat an edge, then they have found a closed trail, which is a circuit. That circuit must cover all edges; so, it would be an Euler circuit. The task of finding a shortest circuit that visits every edge of a connected graph is often referred to as the Chinese postman problem. The name Chinese postman problem was coined in honor of the Chinese mathematician named Kwan Mei-Ko in 1960 who first studied the problem.
英語のヒント
チームは、すべての辺を訪れつつ、繰り返す辺ができるだけ少ない閉じた歩道を見つけたい。辺を決して繰り返さないなら、閉じた小道、つまり回路を見つけたことになる。その回路はすべての辺を通らなければならないので、オイラー回路になる。連結グラフのすべての辺を訪れる最短の回路を見つける課題は、中国人郵便配達問題と呼ばれることが多い。中国人郵便配達問題という名前は、1960年にこの問題を初めて研究した中国の数学者クワン・メイコにちなんでつけられた。
If a graph has an Euler circuit, that will always be the best solution to a Chinese postman problem. Let’s determine if the multigraph of the course has an Euler circuit by looking at the degrees of the vertices in Figure 12.116. Since the degrees of the vertices are all even, and the graph is connected, the graph is Eulerian. It is possible for a team to complete the canoe course in such a way that they pass through each checkpoint exactly once and return to the starting line.
英語のヒント
グラフにオイラー回路があるなら、それはつねに中国人郵便配達問題の最良の解である。図12.116の頂点の次数を見て、コースの多重グラフにオイラー回路があるかどうかを判断しよう。頂点の次数はすべて偶数で、グラフは連結なので、グラフはオイラーグラフである。チームは、各チェックポイントをちょうど1回通ってスタートラインに戻るようにカヌーのコースを完走できる。
A graph with seven vertices. The degrees of the vertices are 4, 4, 4, 4, 2, 2, and 2.
Figure 12.116図12.116
Degrees of Vertices in Graph of Canoe Event
英語のヒント
カヌー種目のグラフの頂点の次数
Example 12.26例題 12.26

Understanding Eulerian Graphsオイラーグラフを理解する

A postal delivery person must deliver mail to every block on every street in a local subdivision. Figure 12.117 is a map of the subdivision. Use the map to answer each question.
英語のヒント
郵便配達員は、地元の住宅地のすべての通りのすべての区画に郵便を配達しなければならない。図12.117はその住宅地の地図である。地図を使って各問いに答えよ。
A map of a subdivision. The map has nine sections. Each section has four blocks. The entrance to the subdivision is at the bottom.
Figure 12.117図12.117
Map of Subdivision
英語のヒント
住宅地の地図
  1. Draw a graph or multigraph to represent the subdivision in which the vertices represent the intersections, and the edges represent streets.
    英語のヒント
    頂点が交差点を表し、辺が通りを表す、住宅地のグラフまたは多重グラフを描け。
  2. Is your graph connected? Explain how you know.
    英語のヒント
    あなたのグラフは連結か。どうしてわかるかを説明せよ。
  3. Determine the degrees of the vertices in the graph.
    英語のヒント
    グラフの頂点の次数を求めよ。
  4. Is your graph an Eulerian graph?
    英語のヒント
    あなたのグラフはオイラーグラフか。
  5. Is it possible for the postal delivery person to visit each block on each street exactly once? Justify your answer.
    英語のヒント
    郵便配達員が各通りの各区画をちょうど1回訪れることは可能か。答えの根拠を示せ。
Solution解答
  1. The graph is in Figure 12.118.
    英語のヒント
    グラフは図12.118である。
    A graph of a subdivision has 16 vertices arranged in 4 rows and 4 columns. The vertices are connected to form 9 squares.
    Figure 12.118図12.118
    Graph of Subdivision
    英語のヒント
    住宅地のグラフ
  2. The graph is connected. It has only one component and there is a path between each pair of vertices.
    英語のヒント
    グラフは連結である。成分は1つだけで、頂点の各組のあいだにパスがある。
  3. There are four corner vertices of degree 2, there are eight exterior vertices of degree 3, and there are four interior vertices of degree 4.
    英語のヒント
    次数2の隅の頂点が4つ、次数3の外側の頂点が8つ、次数4の内側の頂点が4つある。
  4. The graph is not Eulerian because it has vertices of odd degree.
    英語のヒント
    奇数の次数の頂点があるので、グラフはオイラーグラフではない。
  5. No. Since the graph is not Eulerian, there is no Euler circuit, which means that there is no route that would pass through every edge exactly once.
    英語のヒント
    いいえ。グラフはオイラーグラフではないので、オイラー回路がない。つまり、すべての辺をちょうど1回通る経路はない。