_THG_Chapter_1 Basics of Graph Theory - Part 1
_THG_Chapter_1 Basics of Graph Theory - Part 1
Module Supervisor:
Mr Merabet Adil
Email : [email protected]
https://elearning.centre-univ-mila.dz/a2024/
course/view.php?id=331
Basics of Graph Theory
I. Introduction
the relationship
Object 1 Object 2
Basics of Graph Theory
I. Introduction
Graphs (and therefore graph theory) are used in many fields.
Some examples:
Data transport networks :
fixed telephone network,
GSM,
3G, 4G
wi-fi ..
Basics of Graph Theory
I. Introduction
Graphs (and therefore graph theory) are used in many fields.
Some examples:
Data transport networks :
Road transport networks,
Basics of Graph Theory
I. Introduction
Graphs (and therefore graph theory) are used in many fields.
Some examples:
Data transport networks :
Road transport networks,
Electronic circuits,
Basics of Graph Theory
Mathematically,
a graph is a pair of sets (V, E), where V is the set of vertices and E is the set of
edges, formed by pairs of vertices.
G = ( X ; U ) where
X = { x 1 , x 2 , x 3 , … , x n } is the set of vertices
For an arc u = ( x1, x2 ), x1 is the initial vertex end, x2 the terminal vertex (or
where di,j = number of arcs that come out of vertex vi and go into vertex vj
Basics of Graph Theory
III. Representations of a graph
2. The incidence matrix
It is an n × m matrix A = (ai,j), where n is the number of vertices and m is the
11. The degree of a vertex v, d(v), is the number of edges with v as an end vertex.
(by convention, we count a loop twice and parallel edges contribute separately)
12. The degree of a vertex v in a directed graph,
d(v) = d+ (v) + d- (v)
d+ (v) : Out-degree: (the number of edges that point from the vertex v).
d- (v) : In-degree (the number of edges that point to the vertex v)
Example:
d+( x2 ) = 2, d-( x2 ) = 1, d ( x2 ) = 3
d+( x5 ) = 2, d-( x5 ) = 3, d ( x5 ) = 5
Basics of Graph Theory