[SOLVED] CPTS553-Assignment 3
24.99 $
Programming resource
β
Practical programming resource
β
Suitable for guided study and reference
β
Tutor guidance available when needed
Description
- Recall that the handshaking lemma says that the total degree of a loopless graph πΊ is twice the number of edges. Also recall that ππ has 2π vertices (each binary π-tuple is a vertex) and that ππ is π-regular.Β How many edges does ππ have?
- Explain why a nontrivial simple finite graph cannot have a walk of maximum length, but it must have a path of maximum length.
- A trail is a walk that does not repeat an edge. Prove that a trail that repeats a vertex must contain a cycle.Β (Think about the set of nontrivial sub-walks along the trail that start and end at the same vertex.)
- Here are two 3-regular graphs, both with six vertices and nine edges. If they are isomorphic, give an explicit isomorphism π:ππΊ β ππ».Β If they are not isomorphic, provide a convincing argument for this fact (for instance, point out a structural feature of one that is not shared by the other.)
- Below is depicted a graph πΊ constructed by joining two opposite vertices of πΆ12. Some authors call this a βtheta graphβ because it resembles the Greek letter π.
- What is the total degree of this graph?
- What are the possible total degrees of graphs obtained by deleting a vertex of πΊ?
- What are the possible total degrees of graphs obtained by contracting an edge of πΊ?
- What are the possible total degrees of graphs obtained by identifying two vertices of πΊ?
Resource details
Understand the Task Before You Use the Resource
Review the requirements, identify the programming concepts
involved, study the implementation and test your understanding
with your own examples and modifications.