プリンキピア

第12章グラフ理論

Analyzing Geographical Maps with Graphs地図をグラフで分析する

A map shows dots representing the flight connections from a particular airport.
Figure 12.6図12.6
Commercial airlines' route systems create a global network.
英語のヒント
民間航空会社の路線網は世界的なネットワークを作る。
When graphs are used to model and analyze real-world applications, the number of edges that meet at a particular vertex is important. For example, a graph may represent the direct flight connections for a particular airport as in Figure 12.6. Representing the connections with a graph rather than a map shifts the focus away from the relative positions and toward which airports are connected. In Figure 12.7, the vertices are the airports, and the edges are the direct flight paths. The number of flight connections between a particular airport and other South Florida airports is the number of edges meeting at a particular vertex. For example, Key West has direct flights to three of the five airports on the graph. In graph theory terms, we would say that vertex FYW has degree 3. The degree of a vertex is the number of edges that connect to that vertex.
英語のヒント
グラフを使って現実世界の応用をモデル化して分析するときは、ある頂点で出会う辺の数が重要である。たとえば、図12.6のように、グラフである空港の直行便のつながりを表せる。つながりを地図ではなくグラフで表すと、相対的な位置からどの空港がつながっているかへ注目が移る。図12.7では、頂点は空港で、辺は直行便の経路である。ある空港と南フロリダのほかの空港の便のつながりの数は、ある頂点で出会う辺の数である。たとえば、キーウェストにはグラフの5つの空港のうち3つへの直行便がある。グラフ理論の用語では、頂点FYWの次数は3であるという。頂点の次数とは、その頂点につながる辺の数である。
A graph represents the direct flights between South Florida airports. The graph has five vertices. Edges from the vertex, Tampa T P A connect with Key West E Y W, Miami M I A, Fort Lauderdale F L L, and West Palm Beach P B I. An edge connects Fort Lauderdale with Key West. An edge connects Miami with Key West.
Figure 12.7図12.7
Direct Flights between South Florida Airports
英語のヒント
南フロリダの空港のあいだの直行便
Example 12.3例題 12.3

Determining the Degree of a Vertex頂点の次数を求める

Determine the degree of each vertex of Graph J in Figure 12.8. If graph J represents direct flights between a set of airports, do any of the airports have direct flights to two or more of the other cities on the graph?
英語のヒント
図12.8のグラフJの各頂点の次数を求めよ。グラフJが空港の集まりのあいだの直行便を表すなら、グラフのほかの都市の2つ以上への直行便をもつ空港はあるか。
A graph labeled graph J. The graph has five vertices, a, b, c, d, and e. Edges connect a with b, c, and d. An edge connects c with d.
Figure 12.8図12.8
Graph J
英語のヒント
グラフJ
Solution解答
For each vertex, count the number of edges that meet at that vertex. This value is the degree of the vertex. In Figure 12.9, the dashed edges indicate the edges that meet at the marked vertex.
英語のヒント
各頂点について、その頂点で出会う辺の数を数える。この値が頂点の次数である。図12.9で、破線の辺は印のついた頂点で出会う辺を示す。
Five graphs labeled graph J. In the first graph vertex a has degree 3. The graph has five vertices, a, b, c, d, and e. Dotted edges from a connect with b, c, and d. An edge connects c with d. In the second graph vertex b has degree 1. The graph has five vertices, a, b, c, d, and e. Edges from a connect with b, c, and d. An edge connects c with d. The edge connecting b and a is dotted. In the third graph vertex c has degree 2. The graph has five vertices, a, b, c, d, and e. Edges from a connect with b, c, and d. An edge connects c with d. The edges connecting a and c and c and d are dotted. In the fourth graph vertex d has degree 2. The graph has five vertices, a, b, c, d, and e. Edges from a connect with b, c, and d. An edge connects c with d. The edges connecting c and d and a and d are dotted. In the fifth graph vertex e has degree 0. The graph has five vertices, a, b, c, d, and e. Edges from a connect with b, c, and d. An edge connects c with d.
Figure 12.9図12.9
Degrees of Vertices of Graph J
英語のヒント
グラフJの頂点の次数
Vertex a has degree 3, vertex b has degree 1, vertices c and d each have degree 2, and vertex e has degree 0. Airports a, c, and d have direct flights to two or more of the other airports.
英語のヒント
頂点aの次数は3、頂点bの次数は1、頂点cとdの次数はそれぞれ2、頂点eの次数は0である。空港a、c、dには、ほかの空港の2つ以上への直行便がある。
Graphs are also used to analyze regional boundaries. The states of Utah, Colorado, Arizona, and New Mexico all meet at a single point known as the “Four Corners,” which is shown in the map in Figure 12.10.
英語のヒント
グラフは地域の境界の分析にも使う。ユタ、コロラド、アリゾナ、ニューメキシコの各州は、図12.10の地図に示す「フォー・コーナーズ」という1点で出会う。
A map of the USA with the four corners region highlighted. It includes Utah, Colorado, Arizona, and New Mexico.
Figure 12.10図12.10
Map of the Four Corners
英語のヒント
フォー・コーナーズの地図
In Figure 12.11, each vertex represents one of these states, and each edge represents a shared border. States like Utah and New Mexico that meet at only a single point are not considered to have a shared border. By representing this map as a graph, where the connections are shared borders, we shift our perspective from physical attributes such as shape, size and distance, toward the existence of the relationship of having a shared boundary.
英語のヒント
図12.11では、各頂点はこれらの州の1つを表し、各辺は共有する境界を表す。ユタとニューメキシコのように1点だけで出会う州は、境界を共有するとはみなさない。つながりが共有する境界であるグラフとしてこの地図を表すと、形、大きさ、距離といった物理的な属性から、境界を共有する関係の存在へ見方が移る。
A graph of four corner states. The graph shows four edges and four vertices forming a rectangle. The vertices are Utah, Colorado, Arizona, and New Mexico.
Figure 12.11図12.11
Graph of the Shared Boundaries of Four Corners States
英語のヒント
フォー・コーナーズの州の共有する境界のグラフ
Example 12.4例題 12.4

Graphing the Midwestern States中西部の州をグラフにする

A map of the Midwest is given in Figure 12.12. Create a graph of the region in which each vertex represents a state and each edge represents a shared border.
英語のヒント
図12.12に中西部の地図を示す。各頂点が州を表し、各辺が共有する境界を表す、この地域のグラフを作れ。
A partial map of the USA with the midwestern states. The Midwestern states are North Dakota, South Dakota, Nebraska, Kansas, Minnesota, Iowa, Missouri, Wisconsin, Illinois, Indiana, Michigan, and Ohio.
Figure 12.12図12.12
Map of Midwestern States
英語のヒント
中西部の州の地図
Solution解答
Step 1: For each state, draw and label a vertex as in Figure 12.13.
英語のヒント
手順1:図12.13のように、各州について頂点を描いてラベルをつける。
A partial map of the USA with the midwestern states. The Midwestern states are North Dakota (N D), South Dakota (S D), Nebraska (N E), Kansas (K S), Minnesota (M N), Iowa (I A), Missouri (M O), Wisconsin (W I), Illinois (I L), Indiana (I N), Michigan (M I), and Ohio (O H).
Figure 12.13図12.13
Vertex Assigned to Each Midwestern State
英語のヒント
中西部の各州に割り当てた頂点
Step 2: Draw edges between any two states that share a common land border as in Figure 12.14.
英語のヒント
手順2:図12.14のように、共通の陸の境界をもつ2つの州のあいだに辺を描く。
A partial map of the USA with the midwestern states. The Midwestern states are North Dakota (N D), South Dakota (S D), Nebraska (N E), Kansas (K S), Minnesota (M N), Iowa (I A), Missouri (M O), Wisconsin (W I), Illinois (I L), Indiana (I N), Michigan (M I), and Ohio (O H). Edges from N D connect with S D and M N. Edges from S D connect with N E, I A, and M N. Edges from M N connect with I A and W I. Edges from N E connect with K S, M O, and I A. Edges from I A connect with M O and I L. Edges from W I connect with I A and I L. An edge from K S connects with M O. An edge from M O connects with I L. An edge from I L connects with I N. Edges from I N connect with M I and O H. An edge from M I connects with O H.
Figure 12.14図12.14
Edge Assigned to Each Pair of Midwestern States with Common Border
英語のヒント
共通の境界をもつ中西部の州の各組に割り当てた辺
The graph is given in Figure 12.15.
英語のヒント
グラフを図12.15に示す。
A graph represents common boundaries between midwestern states. Edges from M N connect with I A and W I. Edges from N E connect with K S, M O, and I A. Edges from I A connect with M O and I L. Edges from W I connect with I A and I L. An edge from K S connects with M O. An edge from M O connects with I L. An edge from I L connects with I N. Edges from I N connect with M I and O H. An edge from M I connects with O H.
Figure 12.15図12.15
Final Graph Representing Common Boundaries between Midwestern States
英語のヒント
中西部の州のあいだの共通の境界を表す最終的なグラフ