Mathematics of Graph Activity (1)
Mathematics of Graph Activity (1)
369
a............................................................b............................................................c..........................................................d
.............
... . .... . ... . .
... ... ... ...
.. .. .. ..
... ... ... ...
.. .. .. ..
.. .. .. ..
... ... ... ...
.. .. .. ..
j ...
. k ...
l ...
.......................................................................................................................................................................................................
. .
...
G: ... ... ... ...
e
.. .. .. ..
... ... ... ...
.. .. .. ..
... ... ... ...
.. .. .. ..
... ... ... ...
.. .. .. ..
. . . .
..................................................................................................................................................................................................
. . . . . . .
i h g f
i. Eulerian Circuit
ii. Eulerian Graphs.
iii. Hamiltonian Cycle
iv. Hamiltonian Graphs
F. Find a hamiltonian cycle in the given graph below. (10 pts each)
370
a............................................................b............................................................c..........................................................d
.............
... . .... . ... . .
... ... ... ...
.. .. .. ..
... ... ... ...
.. .. .. ..
.. .. .. ..
... ... ... ...
.. .. .. ..
j ...
. k ...
l ...
.......................................................................................................................................................................................................
. .
...
G: ... ... ... ...
e
.. .. .. ..
... ... ... ...
.. .. .. ..
... ... ... ...
.. .. .. ..
... ... ... ...
.. .. .. ..
. . . .
..................................................................................................................................................................................................
. . . . . . .
i h g f
Figure 5.43:
371
J. i. Draw a graph that represents the floor plan, where each vertex
represents a room and an edge connects two vertices if there is
a doorway between the two rooms.
ii. Is it possible to walk through the museum and pass through
each doorway without going through any doorway twice? Jus-
tify your conclusion.
372
N. Six different groups of children would like to visit the zoo and feed
different animals. (Assume that each group will visit the zoo on
only one day.)
• Group 1 would like to feed the bears, dolphins, and gorillas.
• Group 2 would like to feed the bears, elephants,and hippos.
• Group 3 would like to feed the dolphins and elephants.
• Group 4 would like to feed the dolphins, zebras, and hippos.
• Group 5 would like to feed the bears and hippos.
• Group 6 would like to feed the gorillas, hippos, and zebras.
Use graph coloring to find the minimum number of days that are
required so that all groups can feed the animals they would like to
feed but no animals will be fed twice on the same day. Design a
schedule to accomplish this goal.
373