SlideShare a Scribd company logo
Made By: - Chetan Malviya
Graph Coloring
Introduction: -
In old days there is a problem for that problem that
a solution is built and that problem is for finding the no of color can
be filled in a map that it take less no of reputation for coloring a map
for that its cost is not increase much or in between their no error occur
between the process of printing the map.
For that a solution is introduced that is called as graph coloring.
In graph coloring we need to find out the chromatic number of a
graph. The chromatic number of graphs is called the number of color
can be filled in the vertex of graph that the adjacent vertex color
cannot be common in that the minimum no cover that graph is called
the chromatic no of graph. By that chromatic number we can perform
the method graph coloring.
Adjacent vertices: If two vertices of a graph are joined by an edge
then these vertices called adjacent vertices.
Problem: -
In the coloring of map that in old days there for printing a map is very
difficult in old days the printer can only print one color at a time and
also in the map do not want to fill same color in the adjacent country
for that the country is connected to other country. That occur a error if
that happen than the map has no use. Let me demonstrate the use
Suppose: -
In map
N= no of counties
For one time printing it cost =r
For no of countries it cost =n*r
Made By: - Chetan Malviya
If there an error occurs in it then the cost is increase. For that the
solution is created. That is known as graph coloring. That is done by
graph coloring.
Process: - In the we consider the countries as a no of nodes like
No of countries =No of nodes in graph
In this the graph is arrange in such manner that the countries are
adjacent to each other. On that the node is also adjacent in the graph.
Let consider A B C D are nodes Some are adjacent to each other In
this There are some adjacent vertices that is
{(A, B), (B, C), (C, D), (D, A)}
Let in this we have to find out how much no of color required it for
coloring we take minimum 2 colors and maximum 3. That colors is
{R, G, B}. Now Look toward this graph.
We will apply an algorithm in graph:
1. Color first vertex with
first color.
2. Do following for remaining V-
1 vertices.
Check that their adjacent vertex has not
same color.
repeat this algo to n no of vertex an at the end
we get result.
Made By: - Chetan Malviya
Step 1: -
Step 2: -
Step 3: -
Step 4: -Result
Made By: - Chetan Malviya
Their also can be n no of solutions we can find like
In normal way for solving it and for that taking a three nodes graph.In
this we do not apply any condition for checking the color of the
adjacent vertex.
There is a limit for graph coloring method in case of very limited
nodes.
Made By: - Chetan Malviya
Time Complexity: -
In this the no of nodes increasing level by level therefore
For total no of nodes
1 + 3 + 32
+ 33
= (33+1
-1)/3-1
3n+1=Cn+1
3 is the chromatic number of the graph
By Backtracking:-
This is work in following way:-
Example:-
There is a graph we want to color it for that we need
perform an algorithm to find out chromatic number. And the optimal
way for graph coloring.
First we start from one root then after completing a chain then start
backtracking and always check that we do not put same color in the
adjacent vertices. When all the colors has been filled in the vertices
then we get all the no of solution can be done with the possible color
manner and this is a good way for finding a optimal solution for the
less no of vertices for graph coloring.
Made By: - Chetan Malviya
The solution for graph by backtracking is
Like This its two combination is more possible Because of this this
problem comes under the NP hard problems. In this we can consider
the edges in the place of vertices.
Now A days these methods are used for some Applications like
• Making Schedule or Time Table
• Mobile Radio Frequency Assignment
• Sudoku
• Register Allocation Bipartite Graphs
• Map Coloring, and more.

More Related Content

What's hot

Graph coloring
Graph coloringGraph coloring
Graph coloring
Delowar Hossain
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
Prateek Pandey
 
Coloring graphs
Coloring graphsColoring graphs
Coloring graphs
Vikas Sharma
 
Chromatic Number of a Graph (Graph Colouring)
Chromatic Number of a Graph (Graph Colouring)Chromatic Number of a Graph (Graph Colouring)
Chromatic Number of a Graph (Graph Colouring)
Adwait Hegde
 
Edge Coloring & K-tuple coloring
Edge Coloring & K-tuple coloringEdge Coloring & K-tuple coloring
Edge Coloring & K-tuple coloring
Dr. Abdul Ahad Abro
 
Graph coloring problem
Graph coloring problemGraph coloring problem
Graph coloring problem
V.V.Vanniaperumal College for Women
 
Graph colouring
Graph colouringGraph colouring
Graph colouring
Priyank Jain
 
Graph Coloring
Graph ColoringGraph Coloring
Graph Coloring
Dr. Abdul Ahad Abro
 
Map Coloring and Some of Its Applications
Map Coloring and Some of Its Applications Map Coloring and Some of Its Applications
Map Coloring and Some of Its Applications
MD SHAH ALAM
 
Introduction to Graph and Graph Coloring
Introduction to Graph and Graph Coloring Introduction to Graph and Graph Coloring
Introduction to Graph and Graph Coloring
Darwish Ahmad
 
Coloring
ColoringColoring
Coloring
dharshan119
 
Computer graphices presentation
Computer graphices presentationComputer graphices presentation
Computer graphices presentation
Md. Touhidur Rahman
 
3 1 linear inequalities, absolute value
3 1 linear inequalities, absolute value3 1 linear inequalities, absolute value
3 1 linear inequalities, absolute valuehisema01
 
Rgb & cmy(k) color model
Rgb & cmy(k) color modelRgb & cmy(k) color model
Rgb & cmy(k) color model
University of Potsdam
 
3.1.1 systems of equations graphing
3.1.1 systems of equations graphing3.1.1 systems of equations graphing
3.1.1 systems of equations graphingNorthside ISD
 
RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor Resolution
Adya Tiwari
 
Lecture 4 color model
Lecture 4 color modelLecture 4 color model
Lecture 4 color model
poleyseugenio
 
Rgb colour model
Rgb colour modelRgb colour model
Rgb colour model
Ashek Shanto
 
Math
MathMath
Math
sobasoba
 

What's hot (19)

Graph coloring
Graph coloringGraph coloring
Graph coloring
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
 
Coloring graphs
Coloring graphsColoring graphs
Coloring graphs
 
Chromatic Number of a Graph (Graph Colouring)
Chromatic Number of a Graph (Graph Colouring)Chromatic Number of a Graph (Graph Colouring)
Chromatic Number of a Graph (Graph Colouring)
 
Edge Coloring & K-tuple coloring
Edge Coloring & K-tuple coloringEdge Coloring & K-tuple coloring
Edge Coloring & K-tuple coloring
 
Graph coloring problem
Graph coloring problemGraph coloring problem
Graph coloring problem
 
Graph colouring
Graph colouringGraph colouring
Graph colouring
 
Graph Coloring
Graph ColoringGraph Coloring
Graph Coloring
 
Map Coloring and Some of Its Applications
Map Coloring and Some of Its Applications Map Coloring and Some of Its Applications
Map Coloring and Some of Its Applications
 
Introduction to Graph and Graph Coloring
Introduction to Graph and Graph Coloring Introduction to Graph and Graph Coloring
Introduction to Graph and Graph Coloring
 
Coloring
ColoringColoring
Coloring
 
Computer graphices presentation
Computer graphices presentationComputer graphices presentation
Computer graphices presentation
 
3 1 linear inequalities, absolute value
3 1 linear inequalities, absolute value3 1 linear inequalities, absolute value
3 1 linear inequalities, absolute value
 
Rgb & cmy(k) color model
Rgb & cmy(k) color modelRgb & cmy(k) color model
Rgb & cmy(k) color model
 
3.1.1 systems of equations graphing
3.1.1 systems of equations graphing3.1.1 systems of equations graphing
3.1.1 systems of equations graphing
 
RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor Resolution
 
Lecture 4 color model
Lecture 4 color modelLecture 4 color model
Lecture 4 color model
 
Rgb colour model
Rgb colour modelRgb colour model
Rgb colour model
 
Math
MathMath
Math
 

Similar to Graph Coloring

Extended online graph edge coloring
Extended online graph edge coloringExtended online graph edge coloring
Extended online graph edge coloring
ijcsa
 
Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple GraphsGreedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
inventionjournals
 
M-coloring.pptx
M-coloring.pptxM-coloring.pptx
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptx
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptxbcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptx
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptx
B.T.L.I.T
 
Graph coloring using backtracking
Graph coloring using backtrackingGraph coloring using backtracking
Graph coloring using backtracking
shashidharPapishetty
 
Graph coloring problem(DAA).pptx
Graph coloring problem(DAA).pptxGraph coloring problem(DAA).pptx
Graph coloring problem(DAA).pptx
Home
 
graph 2.pptx
graph 2.pptxgraph 2.pptx
graph 2.pptx
MasoudIbrahim3
 
Graphic colouring
Graphic colouringGraphic colouring
Graphic colouring
varagilavanya
 
Bipartite graph
Bipartite graphBipartite graph
Bipartite graph
Arafat Hossan
 
Greedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.pptGreedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.ppt
SeethaDinesh
 
data structure and algorithms Unit 5
data structure and algorithms Unit 5data structure and algorithms Unit 5
data structure and algorithms Unit 5
infanciaj
 
B. SC CSIT Computer Graphics Unit 1.3 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit 1.3 By Tekendra Nath YogiB. SC CSIT Computer Graphics Unit 1.3 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit 1.3 By Tekendra Nath Yogi
Tekendra Nath Yogi
 
Lecture-9.pptx
Lecture-9.pptxLecture-9.pptx
Lecture-9.pptx
ssuserf67e3a
 
05 Scalar Visualization
05 Scalar Visualization05 Scalar Visualization
05 Scalar Visualization
Valerii Klymchuk
 
SATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHSSATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHS
cscpconf
 
Dialogue on 2 color number
Dialogue on 2 color numberDialogue on 2 color number
Dialogue on 2 color number
Armahedi Mahzar
 
Distributed coloring with O(sqrt. log n) bits
Distributed coloring with O(sqrt. log n) bitsDistributed coloring with O(sqrt. log n) bits
Distributed coloring with O(sqrt. log n) bits
Subhajit Sahu
 
Color Models
Color ModelsColor Models
Color Models
Mustafa Salam
 
Backtracking
Backtracking  Backtracking
Backtracking
Vikas Sharma
 

Similar to Graph Coloring (20)

Extended online graph edge coloring
Extended online graph edge coloringExtended online graph edge coloring
Extended online graph edge coloring
 
Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple GraphsGreedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
 
M-coloring.pptx
M-coloring.pptxM-coloring.pptx
M-coloring.pptx
 
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptx
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptxbcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptx
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptx
 
Graph coloring using backtracking
Graph coloring using backtrackingGraph coloring using backtracking
Graph coloring using backtracking
 
Graph coloring problem(DAA).pptx
Graph coloring problem(DAA).pptxGraph coloring problem(DAA).pptx
Graph coloring problem(DAA).pptx
 
graph 2.pptx
graph 2.pptxgraph 2.pptx
graph 2.pptx
 
Graphic colouring
Graphic colouringGraphic colouring
Graphic colouring
 
Sol36
Sol36Sol36
Sol36
 
Bipartite graph
Bipartite graphBipartite graph
Bipartite graph
 
Greedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.pptGreedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.ppt
 
data structure and algorithms Unit 5
data structure and algorithms Unit 5data structure and algorithms Unit 5
data structure and algorithms Unit 5
 
B. SC CSIT Computer Graphics Unit 1.3 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit 1.3 By Tekendra Nath YogiB. SC CSIT Computer Graphics Unit 1.3 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit 1.3 By Tekendra Nath Yogi
 
Lecture-9.pptx
Lecture-9.pptxLecture-9.pptx
Lecture-9.pptx
 
05 Scalar Visualization
05 Scalar Visualization05 Scalar Visualization
05 Scalar Visualization
 
SATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHSSATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHS
 
Dialogue on 2 color number
Dialogue on 2 color numberDialogue on 2 color number
Dialogue on 2 color number
 
Distributed coloring with O(sqrt. log n) bits
Distributed coloring with O(sqrt. log n) bitsDistributed coloring with O(sqrt. log n) bits
Distributed coloring with O(sqrt. log n) bits
 
Color Models
Color ModelsColor Models
Color Models
 
Backtracking
Backtracking  Backtracking
Backtracking
 

More from Chetanmalviya8

Security and Privacy.PDF
Security and Privacy.PDFSecurity and Privacy.PDF
Security and Privacy.PDF
Chetanmalviya8
 
Keyloggers.ppt
Keyloggers.pptKeyloggers.ppt
Keyloggers.ppt
Chetanmalviya8
 
Botnet.pptx
Botnet.pptxBotnet.pptx
Botnet.pptx
Chetanmalviya8
 
WirelessLANs.pptx
WirelessLANs.pptxWirelessLANs.pptx
WirelessLANs.pptx
Chetanmalviya8
 
OOAD PRESENTATION.pptx
OOAD PRESENTATION.pptxOOAD PRESENTATION.pptx
OOAD PRESENTATION.pptx
Chetanmalviya8
 
Ethical Hacking
Ethical HackingEthical Hacking
Ethical Hacking
Chetanmalviya8
 
Monitors.ppt
Monitors.pptMonitors.ppt
Monitors.ppt
Chetanmalviya8
 

More from Chetanmalviya8 (7)

Security and Privacy.PDF
Security and Privacy.PDFSecurity and Privacy.PDF
Security and Privacy.PDF
 
Keyloggers.ppt
Keyloggers.pptKeyloggers.ppt
Keyloggers.ppt
 
Botnet.pptx
Botnet.pptxBotnet.pptx
Botnet.pptx
 
WirelessLANs.pptx
WirelessLANs.pptxWirelessLANs.pptx
WirelessLANs.pptx
 
OOAD PRESENTATION.pptx
OOAD PRESENTATION.pptxOOAD PRESENTATION.pptx
OOAD PRESENTATION.pptx
 
Ethical Hacking
Ethical HackingEthical Hacking
Ethical Hacking
 
Monitors.ppt
Monitors.pptMonitors.ppt
Monitors.ppt
 

Recently uploaded

Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
01-GPON Fundamental fttx ftth basic .pptx
01-GPON Fundamental fttx ftth basic .pptx01-GPON Fundamental fttx ftth basic .pptx
01-GPON Fundamental fttx ftth basic .pptx
benykoy2024
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
obonagu
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 

Recently uploaded (20)

Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
01-GPON Fundamental fttx ftth basic .pptx
01-GPON Fundamental fttx ftth basic .pptx01-GPON Fundamental fttx ftth basic .pptx
01-GPON Fundamental fttx ftth basic .pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 

Graph Coloring

  • 1. Made By: - Chetan Malviya Graph Coloring Introduction: - In old days there is a problem for that problem that a solution is built and that problem is for finding the no of color can be filled in a map that it take less no of reputation for coloring a map for that its cost is not increase much or in between their no error occur between the process of printing the map. For that a solution is introduced that is called as graph coloring. In graph coloring we need to find out the chromatic number of a graph. The chromatic number of graphs is called the number of color can be filled in the vertex of graph that the adjacent vertex color cannot be common in that the minimum no cover that graph is called the chromatic no of graph. By that chromatic number we can perform the method graph coloring. Adjacent vertices: If two vertices of a graph are joined by an edge then these vertices called adjacent vertices. Problem: - In the coloring of map that in old days there for printing a map is very difficult in old days the printer can only print one color at a time and also in the map do not want to fill same color in the adjacent country for that the country is connected to other country. That occur a error if that happen than the map has no use. Let me demonstrate the use Suppose: - In map N= no of counties For one time printing it cost =r For no of countries it cost =n*r
  • 2. Made By: - Chetan Malviya If there an error occurs in it then the cost is increase. For that the solution is created. That is known as graph coloring. That is done by graph coloring. Process: - In the we consider the countries as a no of nodes like No of countries =No of nodes in graph In this the graph is arrange in such manner that the countries are adjacent to each other. On that the node is also adjacent in the graph. Let consider A B C D are nodes Some are adjacent to each other In this There are some adjacent vertices that is {(A, B), (B, C), (C, D), (D, A)} Let in this we have to find out how much no of color required it for coloring we take minimum 2 colors and maximum 3. That colors is {R, G, B}. Now Look toward this graph. We will apply an algorithm in graph: 1. Color first vertex with first color. 2. Do following for remaining V- 1 vertices. Check that their adjacent vertex has not same color. repeat this algo to n no of vertex an at the end we get result.
  • 3. Made By: - Chetan Malviya Step 1: - Step 2: - Step 3: - Step 4: -Result
  • 4. Made By: - Chetan Malviya Their also can be n no of solutions we can find like In normal way for solving it and for that taking a three nodes graph.In this we do not apply any condition for checking the color of the adjacent vertex. There is a limit for graph coloring method in case of very limited nodes.
  • 5. Made By: - Chetan Malviya Time Complexity: - In this the no of nodes increasing level by level therefore For total no of nodes 1 + 3 + 32 + 33 = (33+1 -1)/3-1 3n+1=Cn+1 3 is the chromatic number of the graph By Backtracking:- This is work in following way:- Example:- There is a graph we want to color it for that we need perform an algorithm to find out chromatic number. And the optimal way for graph coloring. First we start from one root then after completing a chain then start backtracking and always check that we do not put same color in the adjacent vertices. When all the colors has been filled in the vertices then we get all the no of solution can be done with the possible color manner and this is a good way for finding a optimal solution for the less no of vertices for graph coloring.
  • 6. Made By: - Chetan Malviya The solution for graph by backtracking is Like This its two combination is more possible Because of this this problem comes under the NP hard problems. In this we can consider the edges in the place of vertices. Now A days these methods are used for some Applications like • Making Schedule or Time Table • Mobile Radio Frequency Assignment • Sudoku • Register Allocation Bipartite Graphs • Map Coloring, and more.