=Homework #18
Turn this in at or before the exam. If you come by my office with it done, you can check your answers.
Study for test on Monday, November 21st.
Chapter 7 Relations
Chapter 8 Graphs
Sequential circuits & flip-flops
Glance at Logic proofs
One solution:
Find recipe - Buy seafood buy groceries steam rice
wash vegetables cut ginger and garlic wash shellfish clean fish make
garnishes chop water chestnuts cut fish cook in wok arrange in platters
serve
being a
partial order requires: reflexive, antisymmetric and transitive. This is not a partial order because it is
not transitive. c is related to d and d is related to be but c is not related
to b.
{ (a,a), (a,b), (a,c), (a,d), (a,e), (b,b), (b,d),
(b,e), (c,c), (c,d), (d,d), (e,e)}
multigraph
vertices 4
edges 8
indegree: a-2, b-3, c-2,
d-1
outdegree: a-2, b-4, c-1, d-1
it has 7
edges (by the handshaking theorem the
sum of the degrees of the vertices is 2 times the number of edges in an
undirected graph even if multiple edges and loops are present).
It also
asked you to draw the graph
This problem tells you which classes
do NOT conflict. In order to determine
the chromatic number you need to know which conflict.
|
115 |
116 |
185 |
195 |
101 |
102 |
273 |
473 |
115 |
0 |
0 |
0 |
|
|
|
|
0 |
116 |
0 |
0 |
|
|
|
|
|
0 |
185 |
0 |
|
0 |
0 |
|
|
|
|
195 |
|
|
0 |
0 |
0 |
0 |
|
|
101 |
|
|
|
0 |
0 |
|
|
|
102 |
|
|
|
0 |
|
0 |
|
|
273 |
|
|
|
|
|
|
0 |
|
473 |
0 |
0 |
|
|
|
|
|
0 |
A solution: (red circles) 115, 473, 116
(green circles)
185, 195
(blue circle)
101
(brown circle)
102
(lavender circle) 273
5 different time slots are needed !!!
Vertex |
Adjacent vertices |
a |
b,d |
b |
a,d,e |
c |
d,e |
d |
a,b,c |
e |
b,c |