CH 5 - Graph Theory
CH 5 - Graph Theory
CH 5 - Graph Theory
Chapter V
Graph Theory
Road Map
City
07/15/24 Prepared by Dr. Zakir H. Ahmed 3
Graph Categorization
An Undirected Graph is a graph where the edges have no
directions. 3
1
The edges in an undirected graph 2
are called Undirected Edges 4
5
For example, G = (V, E), where
V = {1, 2, 3, 4, 5} and E = {(1,2), (1,3), (1,4), (2,3), (3,5), (4,5)}
A Directed Graph or Digraph is a graph where each edge has a
direction. 1
6
The edges in a digraph 2
4
2 3 3 4 4 5
H=(U,F)
G=(V,E)
The union of two simple graphs G1=(V1, E1) and G2=(V2, E2) is the
simple graph with vertex set (V1υV2) and edge set (E1υE2). The
union of G1 and G2 is denoted by G1υG2. For example, 3 3 1
1 3
2 2
2
4 4
4 5 5
G2 G1 U G 2
G1