Mahesh Parahar has Published 255 Articles

Types of Graph

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 11:18:14

704 Views

There are various types of graphs depending upon the number of vertices, number of edges, interconnectivity, and their overall structure. We will discuss only a certain few important types of graphs in this chapter.Null GraphA graph having no edges is called a Null Graph.ExampleIn the above graph, there are three ... Read More

Inverse of function of Set

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 11:16:09

399 Views

The inverse of a one-to-one corresponding function f: A → B, is the function g: B → A, holding the following property −f(x) = y ⇔ g(y) = xThe function f is called invertible if its inverse function g exists.ExampleA Function f : Z → Z, f(x)=x+5, is invertible since ... Read More

Depth First Search

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 11:14:09

1K+ Views

Graph traversal is the problem of visiting all the vertices of a graph in some systematic order. There are mainly two ways to traverse a graph.Breadth First SearchDepth First SearchDepth First Search (DFS) algorithm starts from a vertex v, then it traverses to its adjacent vertex (say x) that has ... Read More

Homomorphism

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 11:12:38

1K+ Views

Two graphs G1 and G2 are said to be homomorphic, if each of these graphs can be obtained from the same graph 'G' by dividing some edges of G with more vertices. Take a look at the following example −Divide the edge 'rs' into two edges by adding one vertex.The ... Read More

Properties of a Graph

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 11:06:38

954 Views

Graphs come with various properties which are used for characterization of graphs depending on their structures. These properties are defined in specific terms pertaining to the domain of graph theory. In this chapter, we will discuss a few basic properties that are common in all graphs.Radius of a Connected GraphThe ... Read More

Graph Fundamentals

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 11:04:47

438 Views

A graph is a diagram of points and lines connected to the points. It has at least one line joining a set of two vertices with no vertex connecting itself. The concept of graphs in graph theory stands up on some basic terms such as point, line, vertex, edge, degree ... Read More

Eulerian Graphs

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 11:03:05

21K+ Views

Euler Graph - A connected graph G is called an Euler graph, if there is a closed trail which includes every edge of the graph G.Euler Path - An Euler path is a path that uses every edge of a graph exactly once. An Euler path starts and ends at ... Read More

Cardinality of a Set

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 11:01:02

509 Views

Cardinality of a set S, denoted by |S|, is the number of elements of the set. The number is also referred as the cardinal number. If a set has an infinite number of elements, its cardinality is ∞.Example − |{1, 4, 3, 5}| = 4, |{1, 2, 3, 4, 5, ... Read More

Functions of Set

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 07:46:01

5K+ Views

A Function assigns to each element of a set, exactly one element of a related set. Functions find their application in various fields like representation of the computational complexity of algorithms, counting objects, study of sequences and strings, to name a few. The third and final chapter of this part ... Read More

Finding the number of spanning trees in a graph

Mahesh Parahar

Mahesh Parahar

Updated on 23-Aug-2019 07:32:20

332 Views

Problem StatementFind the number of spanning trees in the following graph.SolutionThe number of spanning trees obtained from the above graph is 3. They are as follows −These three are the spanning trees for the given graphs. Here the graphs I and II are isomorphic to each other. Clearly, the number ... Read More

Advertisements