In previous lessons, you learned about graph models and some basic graph terminologies.
In this lesson, you will learn about simple graph types, we learned earlier that a simple graph is one in which each edge has two unique vertices.
Simple Graph Types
The following is a list of simple graph types that we are going to explore.
- Complete Graph
- Cycles
- Wheels
- n-Cube
- Bipartite Graph
- Complete Bipartite Graph
Let us discuss each one them.
Complete Graph
A complete graph on n vertices, denoted by
Here are some examples of complete graph.
Cycles
A cycle is denoted as
Here are some examples of cycles.
Wheels
A wheel graph is easy to construct. You get a wheel,
Some examples of wheels.
n-Cubes
A n-dimensional hyper-cube or n-cube is denoted by
In this scheme, two vertices are adjacent iff the bit strings differ only in one bit position. If this is confusing for you, see the following example.
Suppose
The n-Cube,
Similarly, to draw
Bipartite Graphs
There is a special type of simple graph called bipartite graph. A simple graph
When this condition is holds, then you call the pair
Consider following graphs.
In the first graph, the vertex set
This graph is a bipartite because there is no edge between nodes of same set. Every edge is connecting two vertices – one from each subset of
The second graph, the vertex set is divided into
This graph is not a bipartite because
Complete Bipartite Graph
If you recall, a complete graph is a graph
The total number of vertices in the set