

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Class: Combinatorial Computing; Subject: Mathematics; University: Eastern Illinois University; Term: Spring 2009;
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Spring 2009
1
I (^) Syllabus and General Course Guidelines
I (^) Schedule (Tentative, but note exam dates)
I (^) Homework
I (^) Chapter 1. Elements of Graph Theory
2
I (^) A graph , G = ( V ; E ), is a set of vertices or points ( V ) and the set of edges ( E ) connecting them.
a
b
d c
e
In this example, V = f a ; b ; c ; d ; e g, and E = f ab ; bc ; be ; ce g.
I (^) The degree of a vertex is the number of incident edges. What is the degree of each vertex in the figure above?
I (^) Two vertices are adjacent if there is an edge connecting them. Which pairs of vertices are adjacent in this figure?
3
I (^) If all possible edges are in E (i.e., every pair of vertices is connected), then G is called a complete graph.
I A complete graph over n vertices is called Kn.
These are examples of the complete graphs K 3 and K 4.
4
I (^) If order of endpoints is important, then the edges of a graph are said to be directed edges.
I (^) A directed graph is one in which all edges are directed. (Also known as a digraph .)
a
b
c
d e
I Vertex indegree : the number of directed edges coming in.
I (^) Vertex outdegree : the number of directed edges going out.
I A path P from vertex a to vertex b is a sequence of distinct vertices: P = f a = x 1 ; x 2 ; : : : ; xn = b g such that consecutive vertices are adjacent (i.e., < xi ; xi + 1 > ∈ E ).
I (^) The number of vertices in the path P is n ; the length of P (the number of edges in the path) is n 1.
I (^) A circuit is a path than ends where it starts (i.e., xn = x 1 ). (This single repetition is allowed, otherwise vertices are distinct.)
I An undirected graph is connected if every pair of vertices is connected by a path.
fig a. fig b.
I (^) The connected components of a graph are the equivalence classes of vertices under the “is reachable from” relation. How many components are in each figure above?
I (^) A graph is connected if it has exactly one connected component.
7
I (^) A bipartite graph is an undirected graph G = f V ; E g in which V can be partitioned into two sets, V 1 and V 2 such that < u ; w >∈ E implies either u ∈ V 1 and w ∈ V 2 , or u ∈ V 2 and w ∈ V 1.
I (^) Note: the result is that all edges have endpoints in both V 1 and V 2. 8
I (^) Given an undirected graph, G = ( V ; E ), a matching is a subset of edges M ⊆ E 3 ∀ vertices v ∈ V , at most one edge of M is incident on v (i.e., no two edges in M share an endpoint.)
a
b
c
d
e
f g
h
I (^) A vertex v ∈ V is matched by the matching M if some edge in M is incident on v ; otherwise, v is unmatched.
9
I (^) A maximum matching is a matching of maximum cardinality, that is, a matching M 3 ∀ matchings M ′; j M j j M ′j. 1 2 3 4 5
a b c d L R
1 2 3 4 5
a b c d
L R Bipartite Graph (^) a maximum a matching with matching cardinality 2
I (^) Suppose L is a set of machines with a set R of tasks to be performed simultaneously. We dene an edge < u ; w > ∈ E to mean a particular machine u ∈ L is capable of performing a particular task w ∈ R. 10
I (^) An edge cover is a set C of vertices in a graph G with the property that every edge of G is incident to at least one vertex in C (i.e., C contains at least one endpoint of every edge).
6
1 2
3
5 4
6
1 2
3
5 4
I (^) An edge cover of an undirected graph G = ( V ; E ) can also be dened as the subset V ′^ ⊆ V ; 3 if < u ; w > ∈ E , then u ∈ V ′^ or w ∈ V ′, or both.
In other words, each vertex ìcoversî its incident edges, and an edge cover for G is a set of vertices that covers all the edges in E.
I (^) The size of a cover is the number of vertices in it.
(minimum)