Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Slide 14-1
SEVENTH EDITION and EXPANDED SEVENTH EDITION
Chapter 14
Graph Theory
C D
Vertex
Kentucky
MI
Michigan
IN OH
Ohio
Indiana
KY WV
West
Virginia
Kentucky
IN OH
KY WV
A B
C D E
B H
C G
D K J
B C bridge H
bridge
G
A
D
K J
D E
D
The graph has many Euler The graph has an Euler path but
circuits, each of which is also an it does not have an Euler circuit.
Euler path. This graph has no One Euler path is E, C, B, E, D,
odd vertices. One example is A, B, A, D. Each path must begin or
D, B, C, D, B, A. end at vertex D or E.
MI
We are looking for an Euler
path, you must use each
edge exactly one time.
According to item 2, the IN OH
graph has at least one Euler
path but no Euler circuits.
Therefore, yes, it is possible to WV
KY
travel among these states and
cross each common border exactly one time.
There is not an Euler circuit, so the researcher cannot start and end
in the same state.
Start at C.
start here
Choose either CB or CD. 6 B 10
A C
Continue to trace from
9 1
vertex to vertex around 5 7
3 2
A B C
One solution is D
A, G, F, E, C, D, B, A
G F E
a) 4 = (4 1)! = 4•3•2•1 = 24
b) 9 = (9 1)! = 8•7•6•5•4•3•2•1
= 40,320
D C
6
2 8
2 12
D C
6
C 6 D
2nd
vertex
B B, E, D, C, A, B 3 + 4 + 6 + 13 + 8 = 34
C C, D, E, B, A, C 6 + 4 + 3 + 8 + 13 = 34
D D, E, B, A, C, D 4 + 3 + 8 + 13 + 6 = 34
E E, B, D, C, A, E 3 + 9 + 6 + 13 + 18 = 49
Trees
E F H
B
A C G
D
F H E F H
B E B
A A C G
C D G D
A C 4 D
12 10 22
B 5 17 E
14
11 18
G 22 F
B 5 17 E
Next we select the next 14
11 18
lowest-cost edge that
G 22 F
does not form a circuit,
we select edge CG which
is $5.
Continue selecting
edges, being careful not
A C 4 D
to form a circuit. 12 22
10
B 5 17 E
14
11 18
The total cost would be
G 22 F
$12 + $10 + $5 + $14
+$18 + $4 = $63.