Assignment 1
Assignment 1
Trivial Graph
A graph is called a trivial graph if it has only one vertex present in it.
The trivial graph is the smallest possible graph that can be created
with the least number of vertices that is one vertex only.
Non-Directed Graph
A graph is called a non-directed graph if all the edges present between
any graph nodes are non-directed. By non-directed edges, we mean
the edges of the graph that cannot be determined from the node it is
starting and at which node it is ending. All the edges for a graph need
to be non-directed to call it a non-directed graph. All the edges of a
non-directed graph don't have any direction.
Directed Graph
Another name for the directed graphs is digraphs. A graph is called a
directed graph or digraph if all the edges present between any vertices
or nodes of the graph are directed or have a defined direction. By
directed edges, we mean the edges of the graph that have a direction
to determine from which node it is starting and at which node it is
ending.
Connected Graph
For a graph to be labelled as a connected graph, there must be at least
a single path between every pair of the graph's vertices. In other
words, we can say that if we start from one vertex, we should be able
to move to any of the vertices that are present in that particular graph,
which means there exists at least one path between all the vertices of
the graph.
Disconnected Graph
A graph is said to be a disconnected graph where there does not exist
any path between at least one pair of vertices. In other words, we can
say that if we start from any one of the vertices of the graph and try
to move to the remaining present vertices of the graph and there
exists not even a single path to move to that vertex, then it is the case
of the disconnected graph. If any one of such a pair of vertices doesn't
have a path between them, it is called a disconnected graph.