プリンキピア

第12章グラフ理論

12.6 Euler Trails12.6 オイラー小道

A map of the United States shows the Pony Express mail route. The route began in St. Joseph, Missouri and traveled through Fort Kearney, Nebraska; Julesburg, Colorado; Fort Laramie, Wyoming; Fort Bridger, Wyoming; Salt Lake City, Utah; Fort Ruby, Nevada; Carson City, Nevada; and San Francisco, California.
Figure 12.131図12.131
The Pony Express mail route spanned from California to Missouri. (credit: “Map of Pony Express” by Nathan Hughes Hamiltonh/Flickr, CC BY 2.0)
英語のヒント
ポニー・エクスプレスの郵便路はカリフォルニアからミズーリまで広がっていた。(出典:Nathan Hughes Hamiltonh の “Map of Pony Express”/Flickr、CC BY 2.0)

Learning Objectives学習目標

After completing this section, you should be able to:
英語のヒント
この節を終えると、次のことができるようになる。
  1. Describe and identify Euler trails.
    英語のヒント
    オイラー小道を述べて見きわめる。
  2. Solve applications using Euler trails theorem.
    英語のヒント
    オイラー小道の定理を使って応用問題を解く。
  3. Identify bridges in a graph.
    英語のヒント
    グラフの橋を見きわめる。
  4. Apply Fleury’s algorithm.
    英語のヒント
    フルーリーのアルゴリズムを当てはめる。
  5. Evaluate Euler trails in real-world applications.
    英語のヒント
    現実世界の応用でオイラー小道を評価する。
We used Euler circuits to help us solve problems in which we needed a route that started and ended at the same place. In many applications, it is not necessary for the route to end where it began. In other words, we may not be looking at circuits, but trails, like the old Pony Express trail that led from Sacramento, California in the west to St. Joseph, Missouri in the east, never backtracking.
英語のヒント
同じ場所で始まり終わる経路が必要な問題を解くのに、オイラー回路を使った。多くの応用では、経路が始まった場所で終わる必要はない。言いかえると、回路ではなく小道を見ることがある。西のカリフォルニア州サクラメントから東のミズーリ州セントジョセフまで、決して後戻りせずに続いた昔のポニー・エクスプレスの道のようなものである。

Euler Trailsオイラー小道

If we need a trail that visits every edge in a graph, this would be called an Euler trail. Since trails are walks that do not repeat edges, an Euler trail visits every edge exactly once.
英語のヒント
グラフのすべての辺を訪れる小道が必要なら、それをオイラー小道という。小道は辺を繰り返さない歩道なので、オイラー小道はすべての辺をちょうど1回訪れる。
Example 12.29例題 12.29

Recognizing Euler Trailsオイラー小道を見分ける

Use Figure 12.132 to determine if each series of vertices represents a trail, an Euler trail, both, or neither. Explain your reasoning.
英語のヒント
図12.132を使って、頂点の各連なりが小道か、オイラー小道か、両方か、どちらでもないかを判断せよ。理由を説明せよ。
Graph H has 7 vertices labeled a to g. The edges connect a b, a d, b e, e d, d c, c f, f g, d g, and g e.
Figure 12.132図12.132
Graph H
英語のヒント
グラフH
  1. a → b → e → g → f → c → d → e
  2. a → b → e → g → f → c → d → e → b → a → d → g
  3. g → d → a → b → e → d → c → f → g → e
Solution解答
  1. It is a trail only. It is a trail because it is a walk that doesn’t cover any edges twice, but it is not an Euler trail because it didn’t cover edges ad or dg.
    英語のヒント
    小道だけである。どの辺も2回通らない歩道なので小道だが、辺adやdgを通らなかったのでオイラー小道ではない。
  2. It is neither. It is not a trail because it visits ab and be twice. Since it is not a trail, it cannot be an Euler trail.
    英語のヒント
    どちらでもない。abとbeを2回訪れるので小道ではない。小道でないので、オイラー小道でもありえない。
  3. It is both. It is a trail because it is a walk that doesn’t cover any edges twice, and it is an Euler trail because it visits all the edges.
    英語のヒント
    両方である。どの辺も2回通らない歩道なので小道であり、すべての辺を訪れるのでオイラー小道である。