GT UNIT4 Directed Graph TREE
GT UNIT4 Directed Graph TREE
edges e8, e9, and e10 are parallel, whereas edges e2 and e3 are not
v5 is the initial vertex and v4 is the terminal vertex of edge e7.
An edge for which the initial and terminal vertices are the same forms
a self-loop, such as e5.
in the digraph in Fig., the edge e1 is incident out of the vertex v1 and
incident into the vertex v2, v1 is the initial vertex and v2 is the
terminal vertex of the edge e1.
For a self-loop in a digraph, the initial and terminal vertices are one
and the same.
In Fig. the edge e3 is a self-loop with v3 as the initial and terminal
vertex.
The number of edges incident out of a vertex vi is called the out-degree
in any digraph G the sum of all in-degrees is equal to the sum of all
out-degrees, each sum being equal to the number of edges in G; that
is,
Two directed edges are said to be parallel if they are mapped onto the
same ordered pair of vertices. That is, in addition to being parallel in the
sense of undirected edges, parallel directed edges must also agree in
the direction of their arrows.
Symmetric Digraphs: Digraphs in which for every edge (a, b) (i.e., from
vertex a to b) there is also an edge (b, a).
PARALLEL EDGES
Two (directed) edges e and e′ of a digraph D are said to be parallel if e
and e′ have the same initial vertex and the same terminal vertex.
In the digraph in Fig. the edges e6 and e7 are parallel edges whereas the
edges e1 and e9 are not parallel.
DIGRAPHS AND BINARY RELATIONS
The theory of graphs and the calculus of binary relations are closely
related.
In a set of objects, X, where
X = (x1, x2, . . .},
a binary relation R between pairs (xi, xj) may exist.
CONNECTED DIGRAPHS
Strongly Connected
A digraph G is said to be strongly connected if there is atleast one
directed path from every vertex to every other vertex.
Weakly Connected
A digraph G is said to be weakly connected if its corresponding
undirected graph is connected but G is not strongly connected.
Accessibility: In a digraph a vertex b is said to be accessible (or
reachable) from vertex a if there is a directed path from a to b.
Digraph G is strongly connected if and only if every vertex in G is
accessible from every other vertex.
ADJACENCY MATRIX OF A DIGRAPH