logo

グラフのオリエンテーション 📂グラフ理論

グラフのオリエンテーション

Build-up

Let’s assume a directed graph DD is given.

  1. A finite sequence of arcs is called a Directed Walk and is represented as follows: v0v1,v1v2,,vm1vmv0v1v2vm1vm v_{0} v_{1} , v_{1} v_{2} , \cdots , v_{m-1} v_{m} \\ v_{0} \rightarrow v_{1} \rightarrow v_{2} \rightarrow \cdots \rightarrow v_{m-1} \rightarrow v_{m} In this case, v0v_{0} is called the Initial Vertex, vmv_{m} is called the Final Vertex, and mm is referred to as the Length.
  2. A directed walk with all distinct arcs is called a Directed Trail.
  3. A directed walk with all distinct vertices is called a Directed Path.
  4. If the start and end points of a directed walk are the same, it is said to be Closed.
  5. A closed path is called a Directed Cycle.

An Arc refers to an edge with direction in a directed graph. The definitions above essentially redefine the definitions of walks, trails, paths, and cycles for directed graphs.

Before introducing the definition of orientation, let’s review the connectivity of general graphs.

Set Representation of Graphs: For two graphs G1G_{1} and G2G_{2}, assume V(G1)V(G2)=V(G_{1}) \cap V(G_{2}) = \emptyset. Then, the Union G=G1G2G = G_{1} \cup G_{2} of the two graphs has the vertex set V(G1)V(G2)V(G_{1}) \cup V(G_{2}) and the edge set E(G1)E(G2)E (G_{1}) \cup E ( G_{2} ). If graph HH cannot be represented as the union of graphs, HH is said to be Connected.

Now, let’s define the orientation of graphs.

Definition

  1. For any two vertices v,wV(D)v,w \in V(D) in the directed graph DD, if there exists a directed path with the initial vertex vv and the final vertex ww, then DD is said to be Strongly Connected.
  2. If by assigning directions to the edges of graph GG, it can be made into a strongly connected directed graph, then GG is said to be Orientable, and such a strongly connected directed graph is called the Orientation of GG.

Explanation 1

Unlike clean definitions of connectivity through the set representation of graphs, strong connectivity is defined through the existence of paths. It is not mathematically elegant but can be understood more intuitively. In hindsight, the connectivity of general graphs could also be defined through the existence of paths, but using set representation is similar to the way connectivity is defined in topology.

In simple terms, an Orientable Graph is a general graph GG that maintains connectivity even when changed to a directed graph. Obviously, if there is no connectivity, it cannot have strong connectivity. For example, the following graph shows that it becomes an orientable graph by having strong connectivity when directions are assigned.

20200215\_113812.png

Regarding orientable graphs, the following theorem related to cycles is known.

Theorem

Let GG be a connected graph. That GG is orientable and all its edges are included in at least one cycle are equivalent.

Proof

Strategy: If there exists an end vertex v0v_{0} that does not belong to a cycle in the graph, regardless of how the directions are assigned, entering or leaving v0v_{0} is inevitable, so it cannot be an orientable graph. From this fact, all vertices and edges of an orientable graph must belong to a cycle.


()(\Rightarrow)

Let’s fix cycle CC of GG. If all edges are part of CC, there is nothing to prove, but suppose there is an edge eE(G)e \in E(G) adjacent to but not part of CC. However, since GG is orientable, it must belong to another cycle cc '. cc ' can be seen as a newly formed cycle that includes the directions already given in CC. Since GG is a connected graph, the same way, new cycles can be assigned to each edge not part of CC or cc '. Therefore, all edges of GG belong to at least one cycle.


()(\Leftarrow)

It is trivial. Since all edges belong to at least one cycle, it’s possible to reach any final vertex ww from any starting point vV(G)v \in V(G) by passing through various cycles.

ビルドアップ

有向グラフDDが与えられているとしよう。

  1. アークの有限のシーケンス有向ウォークと呼び、次のように表される。 v0v1,v1v2,,vm1vmv0v1v2vm1vm v_{0} v_{1} , v_{1} v_{2} , \cdots , v_{m-1} v_{m} \\ v_{0} \rightarrow v_{1} \rightarrow v_{2} \rightarrow \cdots \rightarrow v_{m-1} \rightarrow v_{m} このとき、v0v_{0}始点vmv_{m}終点mm長さという。
  2. 有向ウォークのアークが全て異なる場合、有向トレイルという。
  3. 有向ウォークの頂点が全て異なる場合、有向パスという。
  4. 有向ウォークの始点と終点が同じ場合、閉じているという。
  5. 閉じたパスをサイクルという。

アークは、有向グラフにおいて方向を持つエッジを指す。上記の定義は、本質的には有向グラフにおけるウォークとトレイル、パス、サイクルの定義を再定義したものである。

オリエンテーションの定義を紹介する前に、一般的なグラフの接続性について見直そう。

グラフの集合表現: 二つのグラフG1G_{1}G2G_{2}に対してV(G1)V(G2)=V(G_{1}) \cap V(G_{2}) = \emptysetとする。すると、二つのグラフのユニオンG=G1G2G = G_{1} \cup G_{2}は頂点セットV(G1)V(G2)V(G_{1}) \cup V(G_{2})とエッジセットE(G1)E(G2)E (G_{1}) \cup E ( G_{2} )を持つグラフである。グラフHHがグラフのユニオンとして表現できない場合、HH接続されているという。

では、グラフのオリエンテーションを定義してみよう。

定義

  1. 有向グラフDDにおいて、任意の二つの頂点v,wV(D)v,w \in V(D)に対して、始点がvvで終点がwwの有向パスが存在する場合、DD強く接続されているという。
  2. グラフGGのエッジに方向を付けて強く接続された有向グラフを作ることができれば、GGオリエンタブルであるといい、その強く接続された有向グラフをGGオリエンテーションという。

説明 1

グラフの集合表現を通じてきれいに定義された接続性とは異なり、強い接続性はパスの存在によって定義される。数学的にエレガントではないが、より直感的に理解できるだろう。振り返ってみると、一般的なグラフの接続性もパスの存在によって定義しても問題ないが、集合表現を使用するのは位相数学での接続性を定義する方法に似ているためである。

簡単に言えば、オリエンタブルなグラフは一般的なグラフGGを有向グラフに変更した場合でも接続性が維持されるグラフである。当然、接続性がなければ強い接続性も持つことはできない。例として、次のグラフでは、方向を与えたときに強く接続性を持つことにより、オリエンタブルなグラフであることが確認できる。

20200215\_113812.png

一方、オリエンタブルなグラフに関して、サイクルに関連した次の定理が知られている。

定理

GG接続グラフとする。GGがオリエンタブルであり、その全てのエッジが少なくとも一つのサイクルに含まれることは同値である。

証明

戦略: グラフにサイクルに属さない頂点エンドヴァーテックスv0v_{0}が存在する場合、どのように方向を付けても、v0v_{0}には入るか出るしかないため、オリエンタブルなグラフになることはできない。この事実から、オリエンタブルなグラフの全ての頂点とエッジは必ずサイクルに属していなければならない。


()(\Rightarrow)

GGのサイクルCCを固定しよう。もし全てのエッジがCCに属するなら、証明することは何もないが、CCに隣接しているがCCには属していないエッジeE(G)e \in E(G)があるとしよう。しかし、GGがオリエンタブルであれば、別のサイクルcc 'には属しているはずである。cc 'は、CCにて既に与えられた方向を含む、新しく作成されたサイクルとみなすことができる。GGは接続グラフであるため、同様の方法で、CCcc 'に属さない各エッジに対して新しいサイクルを割り当てることができる。したがって、GGの全てのエッジは少なくとも一つのサイクルに属することになる。


()(\Leftarrow)

自明である。全てのエッジが少なくとも一つのサイクルに属しているので、どのような始点vV(G)v \in V(G)から出発しても、様々なサイクルを経由して任意の終点wwに到達することができる。


  1. Wilson. (1970). Introduction to Graph Theory: p102. ↩︎ ↩︎