プリンキピア

第12章グラフ理論

Hamilton Path or Euler Trail?ハミルトンパスか、オイラー小道か

We learned in Euler Trails that an Euler trail visits each edge exactly once, whereas a Hamilton path visits each vertex exactly once. Let’s practice distinguishing between the two.
英語のヒント
オイラー小道で、オイラー小道は各辺をちょうど1回訪れるが、ハミルトンパスは各頂点をちょうど1回訪れることを学んだ。この2つを区別する練習をしよう。
Example 12.41例題 12.41

Distinguishing between Hamilton Path and Euler Trailハミルトンパスとオイラー小道を区別する

Use Figure 12.185 to determine if the given sequence of vertices is a Hamilton path, an Euler trail, both, or neither.
英語のヒント
図12.185を使って、与えられた頂点の列がハミルトンパスか、オイラー小道か、両方か、どちらでもないかを判断せよ。
Three graphs. Graph A has five vertices: a, b, c, d, and e. Edges connect a b, b c, c d, d e, e a, and e b. Graph F has five vertices: f, g, h, i, and j. Edges connect f g, g h, h i, i j, j f, f i, f h, j g, and j h. Graph K has five vertices: k, l, m, n, and o. Edges connect k l, l m, m n, and n o.
Figure 12.185図12.185
Graphs A, F, and K
英語のヒント
グラフA、F、K
  1. Graph A, e → b → a → e → d → c → b
    英語のヒント
    グラフA、e → b → a → e → d → c → b
  2. Graph F, f → g → j → h → i
    英語のヒント
    グラフF、f → g → j → h → i
  3. Graph K, k → l → m → n → o
    英語のヒント
    グラフK、k → l → m → n → o
Solution解答
  1. Since the sequence covers every edge once but visits vertices more than once, it is only an Euler trail.
    英語のヒント
    この列はすべての辺を1回通るが頂点を2回以上訪れるので、オイラー小道だけである。
  2. Since the sequence visits every vertex exactly once but skips some edges, it is only a Hamilton path.
    英語のヒント
    この列はすべての頂点をちょうど1回訪れるがいくつかの辺を飛ばすので、ハミルトンパスだけである。
  3. Since the sequence visits each edge and each vertex exactly once, it is both an Euler trail and a Hamilton path.
    英語のヒント
    この列は各辺と各頂点をちょうど1回訪れるので、オイラー小道でありハミルトンパスでもある。