Professional Documents
Culture Documents
Page 117
Ans: The graphs are isomorphic: label the graph clockwise from the top with 236541.
79. Draw the digraph with adjacency matrix
0 0 0 0
0 0 1 0
1 1 0 1
1 1 1 0 .
80. Draw the undirected graph with adjacency matrix
0 1 3 0 4
1 2 1 3 0
3 1 1 0 1
0 3 0 0 2
4 0 1 2 3
.
Page 118
0 0 0 0 1 1
1 1 0 0 1 0
0 1 1 1 0 1
0 1 1 0 1 0
(where alphabetical order is used to determine the rows and columns of the adjacency
matrix). Find
(a) the number of vertices in G.
(b) the number of edges in G.
(c) the degree of each vertex.
(d) the number of loops.
(e) the length of the longest simple path in G.
(f) the number of components in G.
(g) the distance between vertex a and vertex c.
91. How many different channels are needed for six television stations (ABCDEF) whose
distances (in miles) from each other are shown in the following table? Assume that two
stations cannot use the same channel when they are within 150 miles of each other?
A
B
C
D
E
F
A
175 100 50 100
B 85
125 175 100 130
Page 119
95. Use Dijkstra's Algorithm to find the shortest path length between the vertices a and z in
this weighted graph.
96. Use Dijkstra's Algorithm to find the shortest path length between the vertices a and z in
this weighted graph.
97. The Math Department has 6 committees that meet once a month. How many different
meeting times must be used to guarantee that no one is scheduled to be at 2 meetings at
the same time, if committees and their members are: C1 Allen, Brooks, Marg, C2
Brooks, Jones, Morton, C3 Allen, Marg, Morton, C4 Jones, Marg, Morton, C5
Allen, Brooks, C6 Brooks, Marg, Morton.
Page 120