プリンキピア

第12章グラフ理論

Weighted Graphs重みつきグラフ

Suppose that an officer in the U.S. Air Force who is stationed at Vandenberg Air Force base must drive to visit three other California Air Force bases before returning to Vandenberg. The officer needs to visit each base once. The vertices in the graph in Figure 12.164 represent the four U.S. Air Force bases, Vandenberg, Edwards, Los Angeles, and Beale. The edges are labeled to with the driving distance between each pair of cities.
英語のヒント
ヴァンデンバーグ空軍基地に駐屯するアメリカ空軍の将校が、カリフォルニアのほかの3つの空軍基地を車で訪れてからヴァンデンバーグに戻らなければならないとする。将校は各基地を1回ずつ訪れる必要がある。図12.164のグラフの頂点は、4つのアメリカ空軍基地、ヴァンデンバーグ、エドワーズ、ロサンゼルス、ビールを表す。辺には各都市の組のあいだの運転距離のラベルがついている。
A graph represents the four California air force bases. The graph has four vertices: E, B, V, and L. The edge, E B is labeld 410 miles. The edge, B V is labeled 396 miles. The edge, V L is labeled 159 miles. The edge, L E is labeled 106 miles. The edge, L B is labeled 439 miles. The edge, E V is labeled 207 miles.
Figure 12.164図12.164
Graph of Four California Air Force Bases
英語のヒント
カリフォルニアの4つの空軍基地のグラフ
The graph in Figure 12.164 is called a weighted graph, because each edge has been assigned a value or weight. The weights can represent quantities such as time, distance, money, or any quantity associated with the adjacent vertices joined by the edges. The total weight of any walk, trail, or path is the sum of the weights of the edges it visits.
英語のヒント
図12.164のグラフは、各辺に値つまり重みが割り当てられているので、重みつきグラフという。重みは、時間、距離、金額、または辺で結ばれた隣接する頂点に結びついたどんな量も表せる。歩道、小道、パスの重みの合計は、それが訪れる辺の重みの和である。
Notice that the officer’s trip can be represented as a Hamilton cycle, because each of the four vertices in the graph is visited exactly once.
英語のヒント
4つの頂点の各々をちょうど1回訪れるので、将校の旅はハミルトン閉路として表せることに注意しよう。
Example 12.37例題 12.37

Finding Hamilton Cycles of Lowest Weight重みがいちばん小さいハミルトン閉路を見つける

Use Figure 12.164 and the given Hamilton cycles to answer the following questions.
英語のヒント
図12.164と与えられたハミルトン閉路を使って、次の問いに答えよ。
V → L → E → B → V
V → L → B → E → V
V → E → L → B → V
V → B → E → L → V
  1. Which of the Hamilton cycles (directed cycles) lie on the same cycle (undirected cycle) in the graph?
    英語のヒント
    ハミルトン閉路(有向閉路)のどれが、グラフの同じ閉路(無向閉路)の上にあるか。
  2. Find the total weight of each cycle.
    英語のヒント
    各閉路の重みの合計を求めよ。
  3. Of the four, which of the Hamilton cycles describes the shortest trip for the officer? Describe the route.
    英語のヒント
    4つのうち、将校のもっとも短い旅を表すハミルトン閉路はどれか。その経路を述べよ。
Solution解答
  1. V → L → E → B → V and V → B → E → L → V follow the same edges in reverse order.
    英語のヒント
    V → L → E → B → VとV → B → E → L → Vは同じ辺を逆の順にたどる。
  2. Any Hamilton cycles that lie on the same cycle will have the same edges and the same total weight.
    英語のヒント
    同じ閉路の上にあるハミルトン閉路は、辺も重みの合計も同じである。
    V → L → E → B → V and V → B → E → L → V each have total weight 159+106+410+396=1071.
    英語のヒント
    V → L → E → B → VとV → B → E → L → Vの重みの合計はどちらも159+106+410+396=1071である。
    V → L → B → E → V has a total weight 159+439+410+207=1215.
    英語のヒント
    V → L → B → E → Vの重みの合計は159+439+410+207=1215である。
    V → E → L → B → V has a total weight 396+439+106+207=1148.
    英語のヒント
    V → E → L → B → Vの重みの合計は396+439+106+207=1148である。
  3. Hamilton cycles V → L → E → B → V and V → B → E → L → V each have the lowest total weight. The officer would take the route from Vandenberg, to Los Angeles, to Edwards, to Beale, and back to Vandenberg, or reverse that route.
    英語のヒント
    ハミルトン閉路V → L → E → B → VとV → B → E → L → Vは、どちらも重みの合計がいちばん小さい。将校は、ヴァンデンバーグからロサンゼルス、エドワーズ、ビールへ行ってヴァンデンバーグに戻る経路か、その逆の経路をとる。