プリンキピア

第12章グラフ理論

12.3 Comparing Graphs12.3 グラフを比べる

A map of the world continents. The continents are North America, South America, Europe, Asia, Africa, Oceania, and Antarctica.
Figure 12.36図12.36
A flat map represents the surface of Earth in two dimensions. (credit: modification of work "World Map" by Scratchinghead/Wikimedia Commons, Public Domain)
英語のヒント
平らな地図は地球の表面を2次元で表す。(出典:Scratchinghead の "World Map" を改変/Wikimedia Commons、パブリックドメイン)
A globe.
Figure 12.37図12.37
A globe represents the surface of Earth in three dimensions. (credit: "Globe" by Wendy Cope/Flickr, CC BY 2.0)
英語のヒント
地球儀は地球の表面を3次元で表す。(出典:Wendy Cope の "Globe"/Flickr、CC BY 2.0)

Learning Objectives学習目標

After completing this section, you should be able to:
英語のヒント
この節を終えると、次のことができるようになる。
  1. Identify the characteristics used to compare graphs.
    英語のヒント
    グラフを比べるのに使う特徴を見きわめる。
  2. Determine when two graphs represent the same relationships
    英語のヒント
    2つのグラフが同じ関係を表すのはいつかを決める。
  3. Explore real-world examples of graph isomorphisms
    英語のヒント
    グラフの同型写像の現実世界の例を調べる。
  4. Find the complement of a graph
    英語のヒント
    グラフの補グラフを求める。
Maps of the same region may not always look the same. For example, a map of Earth on a flat surface looks distorted at the poles. When the same regions are mapped on a spherical globe, the countries that are closer to the polls appear smaller without the distortion. Despite these differences, the two maps still communicate the same relationships between nations such as shared boundaries, and relative position on the earth. In essence, they are the same map. This means that for every point on one map, there is a corresponding point on the other map in the same relative location. In this section, we will determine exactly what characteristics need to be the shared by two graphs in order for us to consider them “the same.”
英語のヒント
同じ地域の地図がいつも同じに見えるとはかぎらない。たとえば、平らな面の地球の地図は極でゆがんで見える。同じ地域を球形の地球儀に描くと、極に近い国々はゆがみなく小さく見える。これらの違いにもかかわらず、2つの地図は、共有する境界や地球上の相対的な位置など、国と国の同じ関係を伝えている。本質的に、それらは同じ地図である。つまり、一方の地図のどの点にも、もう一方の地図の同じ相対的な位置に対応する点がある。この節では、2つのグラフを「同じ」とみなすのに、どんな特徴を共有する必要があるかを正確に決める。

When Are Two Graphs Really the Same Graph?2つのグラフが本当に同じグラフであるのはいつか

In arithmetic, when two numbers have the same value, we say they are equal, like ½ = 0.5. Although ½ and 0.5 look different, they have the same value, because they are assigned the same position on the real number line. When do we say that two graphs are equal?
英語のヒント
算数では、2つの数が同じ値をもつとき、½ = 0.5のように等しいという。½と0.5は違って見えるが、実数直線上で同じ位置を割り当てられるので、同じ値をもつ。2つのグラフが等しいというのはいつか。
Figure 12.38 shows Graphs A and F, which are identical except for the labels. Graphs are visual representations of connections. As long as two graphs indicate the same pattern of connections, like Graph A and Graph F, they are considered to be equal, or in graph theory terms, isomorphic.
英語のヒント
図12.38は、ラベルを除いて同一のグラフAとFを示している。グラフはつながりを目に見える形で表したものである。グラフAとグラフFのように、2つのグラフが同じつながりの型を示すかぎり、それらは等しい、グラフ理論の用語では同型であるとみなされる。
Two graphs are labeled graph A and graph F. Graph A has four vertices: b, c, d, and e. The edges connect b c, c e, e d, d b, and d c. Graph F has four vertices: g, h, i, and j. The edges connect g h, h j, j i, I g, and I h.
Figure 12.38図12.38
Identical Graphs with Different Labels
英語のヒント
ラベルの異なる同一のグラフ
Two graphs are isomorphic if either one of these conditions holds:
英語のヒント
2つのグラフは、次の条件のどちらかが成り立てば同型である:
  1. One graph can be transformed into the other without breaking existing connections or adding new ones.
    英語のヒント
    既存のつながりを切ったり新しいつながりを足したりせずに、一方のグラフをもう一方に変形できる。
  2. There is a correspondence between their vertices in such a way that any adjacent pair in one graph corresponds to an adjacent pair in the other graph.
    英語のヒント
    一方のグラフの隣接する組がもう一方のグラフの隣接する組に対応するような、頂点のあいだの対応がある。
It is important to note that if either one of the isomorphic conditions holds, then both of them do. When we need to decide if two graphs are isomorphic, we will need to make sure that one of them holds. For example, Figure 12.39 shows how Graph T can be bent and flipped to look like Graph Z, which means that Graphs T and Z satisfy condition 1 and are isomorphic.
英語のヒント
同型の条件のどちらかが成り立てば、両方が成り立つことに注意することが大切である。2つのグラフが同型かどうかを決める必要があるときは、どちらかが成り立つことを確かめればよい。たとえば、図12.39は、グラフTを曲げて裏返すとグラフZのように見えることを示している。つまり、グラフTとZは条件1を満たし、同型である。
Graph T is converted into Graph Z. Edges from the third vertex in graph T connect to the first, second, and fourth vertices. The first and second vertices are connected by an edge. The fourth vertex is moved to the top. Then the whole graph is rotated 180 degrees to achieve graph Z.
Figure 12.39図12.39
Graph T Transformed Into Graph Z
英語のヒント
グラフZに変形したグラフT
Also, notice that the vertices that were adjacent in the first graph are still adjacent in the transformed graph as shown in Figure 12.40. For example, vertex 3 is still adjacent to vertex 4, which means they are still neighboring vertices joined by a single edge.
英語のヒント
また、図12.40に示すように、最初のグラフで隣接していた頂点は、変形したグラフでも隣接していることに注意しよう。たとえば、頂点3はまだ頂点4に隣接している。つまり、それらはまだ1本の辺で結ばれた隣り合う頂点である。
Graph T is converted into Graph Z. Edges from the third vertex in graph T connect to the first, second, and fourth vertices. The first and second vertices are connected by an edge. The fourth vertex is moved to the top. Then the whole graph is rotated 180 degrees to achieve graph Z.
Figure 12.40図12.40
Adjacent Vertices Are Still Adjacent
英語のヒント
隣接する頂点はまだ隣接している