Fundamentals of Graph

Let us consider a graph G=(V,E) in which V is a pair of vertices (or nodes) and E stands for set of edges. Broadly there are two types of graphs, directed graph and undirected graph.

             







Visualizations is considered one of the most efficient method to simplify and interpret the underlying patterns in data. Firstly, while working on any new dataset, one should  explore it through visualization. This approach gives fruitful result for anyone who does so. Sadly, we don’t see this method common among many people.

Here in the example we can see that V1, V2, V3, V4, Vare the vertices of the graph and E1, E2, E3, E4, E5, E6 are the edges of the graph.

Let us take an example of an edge Ek=(Vi,Vj) is incident with the vertices Vi and Vj. The vertices Vi and Vj are called as adjacent vertices. The degree d(v) of a vertex V tells us that it is number of incident edges on that particular vertex. In this particular blog, we will be focusing on two of the graph concepts. They are: 1. Dominating sets in graph and 2. Vertex/Edge coloring in graph

1. Dominating sets in graph

A set S С V(G) of vertices in a graph G is a dominating set if every vertex VєV(G) is an element of S or adjacent to an element of S.

2. Vertex/Edge coloring in a graph

Vertex coloring of a graph is assignment of colors to the vertices such that no two adjacent vertices receive the same color. Similar can be done for vertex coloring, where no adjacent edges should have the same color. We have to make sure that we are using minimum number of colors to get the optimum solution.


                                     


Comments

Post a Comment

Popular posts from this blog

How it all started? - Seven Bridges of Königsberg

Introduction

Real life applications