Graph Theory - DM
Graph Theory - DM
Computer Network
with Multiple Links
between Data Centers
Computer Network
with Diagnostic
Links
Communications
Network with One-
Way
Communications
Links
An Acquaintance-
ship Graph
Hollywood
graph
An Influence Graph
Friendship Graphs
COMMUNICATION and INFORMATION NETWORKS
The Web Graph
Citation Graphs
Call Graphs
BIOLOGICAL NETWORKS
TRANSPORTATION NETWORKS
d ( v ) 2e
i 1
i
d (vi )
d (vi ) | E |
i i
Degree Sequence
The degree sequence of a graph is the
sequence of the degrees of the vertices in
decreasing order of degrees, with repetitions as
needed.
e. g. For the following graph degree
sequence is 4,4,4,3,2,1,0
Simple graphs
Complete graph : Kn, is the simple graph that
contains exactly one edge between each pair of
distinct vertices.
Regular graph
0-regular
3-regular
2-regular
Cycle: Cn, n ≥ 3 consists of n vertices v1, v2, v3…
vn and edges {v1, v2}, {v2, v3}, {v3, v4} … {vn-1,
vn}, {vn, v1}
Wheels : Wn, obtained by adding additional
vertex to Cn and connecting all vertices to this
new vertex by new edges.
N-cubes: Q n ,
n
Vertices represented by 2 bit strings of length n.
Two vertices are adjacent if and only if the bit
strings that they represent differ by exactly one
bit positions.
Q1
Q2
Q3
Bipartite graphs
Adjacency List
An Adjacency List for a Directed Graph.
Adjacency Matrices
adjacency matrix
Pseudograph
adjacency matrix
Incidence Matrices
Incidence Matrices
Pseudograph
Incidence Matrices
Subgraph
G be a directed graph.
A path of length n from u to v in G is a sequence of edges
e1, e2, . . . , en of G such that e1 is associated with (x0, x1), e2 is
associated with (x1, x2), and so on, with en associated with (xn−1,
xn), where x0 = u and xn = v.
When there are no multiple edges in the directed graph,
this path is denoted by its vertex sequence
x0, x1, x2, . . . , xn.
A path of length greater than zero that begins and ends at
the same vertex is called a circuit or cycle.
A path or circuit is called simple if it does not contain the
same edge more than once.
Note that
The terminal vertex of an edge in a path is the initial
vertex of the next edge in the path.
When it is not necessary to distinguish between multiple
edges, we will denote a path e1, e2, . . . , en, where ei is
associated with (xi−1, xi) for i = 1, 2, . . . , n, by its vertex
sequence x0, x1, . . . , xn.
The notation identifies a path only as far as which the
vertices it passes through.
There may be more than one path that passes through this
sequence of vertices, which will happen if and only if there are
multiple edges between two successive vertices in the list.
The total number of edges in a path connecting
a pair of vertices (u , v )is known as length of the path.
The length of the shortest path between a pair of
vertices (u , v) is defined as distance between u and v,
denoted as d (u , v )
i.e., d (u , v) minimum of lengths of all paths joining
u and v.
The maximum distance , i.e.,length of the longest
path between a vertex to all the other vertices is
defined as eccentricity of v, denoted as e(v ).
An undirected graph is called connected if
there is a path between every pair of distinct vertices of
the graph.
An undirected graph that is not connected is
called disconnected.
κ(G)=2
κ(G)=1
EDGE CONNECTIVITY
Euler graph
O R E 'S T H E O R E M ::
If G is a s im p le g ra p h w ith n v e r tic e s w ith
n 3 s u c h t h a t d e g u deg v n fo r
e v e ry p a ir o f n o n a d ja c e n t v e rtic e s u a n d v
in G , th e n G h a s a H a m ilto n c ir c u it.
Planar Graph