Professional Documents
Culture Documents
part of
Data Structures
Discrete Mathematics, Graphs and Algorithm
s,
part of: Combinatorics
Prof. Hassane Bouzahir
(Just google my name)
End points
If γ(e) = {v, w}, then vertices v and w are called the
end points of e.
1 2 1 2
1 2 3 4
4 3 3 4
G G G
Simple
A path is called simple if no vertex appears more t
han once in the vertex sequence, except possibly
if v1= vk. In this case, the path is called a simple ci
rcuit.
A B 3 4
q
s
r C 1 6
E Connected Disconnected
t Two components
u
D
8 ENSA Agadir, 2014
1. Graphs
Some important special families of graphs w
ill be useful in our discussions.
1.Un (discrete graph) denote the graph with n vertic
es and no edges.
U2 U5
2.Ln (linear graph) denote the graph with n vertices
and with edges {vi,vi+1} for 1≤ i <n
L2 L5
K2=L2
K3 K4
Regular K5
If each vertex of a graph has the same degree as
every other vertex, the graph is called regular, e.
g., Kn (n=2, 3, 4, 5) above.
a b a b
i f i f
h g h g
d c d Ge c
G
e = {a, b}
i f i f
h g h g
a b
d c d c
i f
a b
h g
d c i f
G h g
d c
a b
m f [i]
i j
l k
[h] [g]
h g
d c [d] GS
d c d c
G Ge
e = {i, j}
16 ENSA Agadir, 2014
1. Graphs
Homework
Ex. 6, Ex. 16, Ex. 20, Ex. 22, Ex. 23, Ex. 29