第12章グラフ理論
Circuits回路
In many applications of graph theory, such as creating efficient delivery routes, beginning and ending at the same location is a requirement. When a walk, path, or trail end at the same location or vertex they began, we call it closed. Otherwise, we call it open (does not begin and end at the same location or vertex). Some examples of closed walks, closed trails, and closed paths are given in in the following table.
英語のヒント
効率のよい配達経路を作るなど、グラフ理論の多くの応用では、同じ場所で始まり終わることが条件である。歩道、パス、小道が始まったのと同じ場所や頂点で終わるとき、閉じているという。そうでなければ、開いている(同じ場所や頂点で始まり終わらない)という。閉じた歩道、閉じた小道、閉じたパスの例を次の表に示す。
| DESCRIPTION説明 | EXAMPLE例 | CHARACTERISTICS特徴 |
|---|---|---|
| A closed walk is a walk that begins and ends at the same vertex.閉じた歩道とは、同じ頂点で始まり終わる歩道である。 | ![]() | Alternating sequence of vertices and edges 英語のヒント頂点と辺が交互に並ぶ列 Begins and ends at the same vertex 英語のヒント同じ頂点で始まり終わる |
| A closed trail is a trail that begins and ends at the same vertex. It is commonly called a circuit.閉じた小道とは、同じ頂点で始まり終わる小道である。ふつう回路と呼ばれる。 | ![]() | No repeated edges 英語のヒント繰り返す辺がない Begins and ends at the same vertex 英語のヒント同じ頂点で始まり終わる |
| A closed path is a path that begins and ends at the same vertex. It is also referred to as a directed cycle because it travels through a cyclic subgraph.閉じたパスとは、同じ頂点で始まり終わるパスである。閉路部分グラフを通るので、有向閉路とも呼ばれる。 | ![]() | No repeated edges or vertices 英語のヒント繰り返す辺も頂点もない Begins and ends at the same vertex 英語のヒント同じ頂点で始まり終わる |
Since walks, trails, and paths are all related, closed walks, circuits, and directed cycles are related too.
英語のヒント
歩道、小道、パスがすべて関係しているので、閉じた歩道、回路、有向閉路も関係している。
- All circuits are closed walks, but closed walks that visit the same edge twice are not circuits.
英語のヒント
すべての回路は閉じた歩道だが、同じ辺を2回訪れる閉じた歩道は回路ではない。 - All directed cycles are circuits, but circuits in which a vertex is visited twice are not directed cycles.
英語のヒント
すべての有向閉路は回路だが、頂点を2回訪れる回路は有向閉路ではない。

Figure 12.84図12.84
Closed Walks, Circuits, and Directed Cycles
英語のヒント
閉じた歩道、回路、有向閉路
The same circuit can be named using any of its vertices as a starting point. For example, the circuit d → f → b → c → d can also be referred to in the following ways.
英語のヒント
同じ回路は、どの頂点を始点にしても名づけられる。たとえば、回路d → f → b → c → dは次のようにも呼べる。
a → b → c → d → a is the same as
英語のヒント
a → b → c → d → a は次と同じである
Let’s practice working with closed walks, circuits (closed trails), and directed cycles (closed paths). In the graph in Figure 12.85, the vertices are major central and south Florida airports. The edges are direct flights between them.
英語のヒント
閉じた歩道、回路(閉じた小道)、有向閉路(閉じたパス)を扱う練習をしよう。図12.85のグラフでは、頂点はフロリダ中部と南部の主な空港である。辺はそれらのあいだの直行便である。

Figure 12.85図12.85
Major Central and South Florida Airports
英語のヒント
フロリダ中部と南部の主な空港
Example 12.21例題 12.21
Determining a Closed Walk, Circuit, or Directed Cycle閉じた歩道、回路、有向閉路を判断する
Suppose that you need to travel by air from Miami (MIA) to Orlando (MCO) and you were restricted to flights represented on the graph. For the trip to Orlando, you decide to purchase tickets with a layover in Key West (EYW) as shown in Figure 12.86, but you still have to decide on the return trip. Determine if your roundtrip itinerary is a closed walk, a circuit, and/or a directed cycle, based on the return trip described in each part.
英語のヒント
マイアミ(MIA)からオーランド(MCO)へ飛行機で旅行する必要があり、グラフに示す便に限られているとする。オーランドへの旅では、図12.86に示すようにキーウェスト(EYW)で乗り継ぐ航空券を買うことにしたが、帰りの旅はまだ決めなければならない。各問に述べた帰りの旅にもとづいて、往復の旅程が閉じた歩道か、回路か、有向閉路かを判断せよ。

Figure 12.86図12.86
MIA to EYW to MCO
英語のヒント
MIAからEYW、MCOへ
- You returned to Miami (MIA) by reversing your route.
英語のヒント
経路を逆にたどってマイアミ(MIA)に戻った。 - Your direct flight back left Orlando (MCO) but was diverted to Fort Lauderdale (FLL)! From there you flew to Tampa (TPA) before returning to Miami (MIA).
英語のヒント
帰りの直行便はオーランド(MCO)を出たが、フォートローダーデール(FLL)に行き先を変更された!そこからタンパ(TPA)へ飛び、それからマイアミ(MIA)に戻った。
Solution解答
- The whole trip was MIA → EYW → MCO → EYW → MIA. This is a closed walk, because it is a walk that begins and ends at the same vertex. It is not a circuit, because it repeats edges. If it is not a circuit, then it cannot be a directed cycle.
英語のヒント
全行程はMIA → EYW → MCO → EYW → MIAだった。同じ頂点で始まり終わる歩道なので、これは閉じた歩道である。辺を繰り返すので、回路ではない。回路でないなら、有向閉路でもありえない。 - The whole trip was MIA → EYW → MCO → FLL → TPA → MIA. This is a closed walk, because it is a walk that begins and ends at the same vertex. It is a circuit because no edges were repeated. It is also a directed cycle because no vertices were repeated either. So, it is all three!
英語のヒント
全行程はMIA → EYW → MCO → FLL → TPA → MIAだった。同じ頂点で始まり終わる歩道なので、これは閉じた歩道である。辺を繰り返さなかったので回路である。頂点も繰り返さなかったので有向閉路でもある。だから、3つすべてである!


