Special Graph Structures
Special Graph Structures
Special Graph Structures
Complete Graphs
𝑛(𝑛−1)
Note that Kn has edges.
2
K1 K2 K3 K4
K5 K6
3
Module #22 - Graphs
Cycles
C3 C4 C5 C6 C8
C7
How many edges are there in Cn?
10/1/2020 (c)2001-2003, Michael P. Frank 4
Module #22 - Graphs
Wheels
• For any n3, a wheel Wn, is a simple graph obtained by taking the
cycle Cn and adding one extra vertex vhub and n extra edges {{vhub,v1},
{vhub,v2},…,{vhub,vn}}.
W3 W4 W5 W6 W8
W7
How many edges are there in Wn?
10/1/2020 (c)2001-2003, Michael P. Frank 5
Module #22 - Graphs
n-cubes (hypercubes)
Q0
Q1 Q2 Q4
Q3
Number of vertices: 2n. Number of edges:Exercise to try!
n-cubes (hypercubes)
v4
v1
v5
v2
v6
v3
V1 V2
Module #22 - Graphs
• Km,n is the graph that has its vertex set portioned into two subsets of m and
n vertices, respectively There is an edge between two vertices if and only if
one vertex is in the first subset and the other vertex is in the second
subset.
Representation example: K2,3, K3,3
K2,3 K3,3