- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Independent Vertex Set
Independent sets are represented in sets, in which
there should not be any edges adjacent to each other. There should not be any common vertex between any two edges.
there should not be any vertices adjacent to each other. There should not be any common edge between any two vertices.
Independent Vertex Set
Let 'G' = (V, E) be a graph. A subset of 'V' is called an independent set of 'G' if no two vertices in 'S' are adjacent.
Example
Consider the following subsets from the above graphs −
S1 = {e} S2 = {e, f} S3 = {a, g, c} S4 = {e, d}
Clearly, S1 is not an independent vertex set, because for getting an independent vertex set, there should be at least two vertices in the form a graph. But here it is not that case. The subsets S2, S3, and S4 are the independent vertex sets because there is no vertex that is adjacent to anyone vertex from the subsets.
Maximal Independent Vertex Set
Let 'G' be a graph, then an independent vertex set of 'G' is said to be maximal if no other vertex of 'G' can be added to 'S'.
Example
Consider the following subsets from the above graphs.
S1 = {e} S2 = {e, f} S3 = {a, g, c} S4 = {e, d}
S2 and S3 are maximal independent vertex sets of 'G'. In S1 and S4, we can add other vertices; but in S2 and S3, we cannot add any other vertex
Maximum Independent Vertex Set
A maximal independent vertex set of 'G' with a maximum number of vertices is called the maximum independent vertex set.
Example
Consider the following subsets from the above graph −
S1 = {e} S2 = {e, f} S3 = {a, g, c} S4 = {e, d}
Only S3 is the maximum independent vertex set, as it covers the highest number of vertices. The number of vertices in a maximum independent vertex set of 'G' is called the independent vertex number of G (β2).
Example
For the complete graph Kn, Vertex covering number = α2 = n-1 Vertex independent number = β2 = 1 You have α2 + β2 = n In a complete graph, each vertex is adjacent to its remaining (n − 1) vertices. Therefore, a maximum independent set of Kn contains only one vertex. Therefore, β2=1 and α2=|v| − β2 = n-1
Note − For any graph 'G' = (V, E)
α2 + β2 = |v|
If 'S' is an independent vertex set of 'G', then (V – S) is a vertex cover of G.
- Related Articles
- Independent Line Set
- Largest Independent Set Problem
- Cut Set and Cut Vertex of Graph
- Vertex Covering
- Find if an undirected graph contains an independent set of a given size in Python
- Find if an undirected graph contains an independent set of a given size in C++
- Law of Independent Assortment
- Combining Dependent & Independent Clauses
- Pendent Vertex, Isolated Vertex and Adjacency of a graph
- Program to calculate vertex-to-vertex reachablity matrix in Python
- Vertex cover Problem
- How is Java platform independent?
- Is the Python platform independent?
- C++ Program to Find Size of the Largest Independent Set(LIS) in a Given a Binary Tree
- Writing OS Independent Code in C/C++
