SlideShare a Scribd company logo
1 of 6
Download to read offline
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

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 coloringDr. 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
 
3 1 linear inequalities, absolute value
3 1 linear inequalities, absolute value3 1 linear inequalities, absolute value
3 1 linear inequalities, absolute valuehisema01
 
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 ResolutionAdya Tiwari
 
Lecture 4 color model
Lecture 4 color modelLecture 4 color model
Lecture 4 color modelpoleyseugenio
 

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 coloringijcsa
 
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 Graphsinventionjournals
 
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptx
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptxbcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptx
bcfbedbf-6679-4d5d-b8a5-7d4c9c48dba4.pptxB.T.L.I.T
 
Graph coloring problem(DAA).pptx
Graph coloring problem(DAA).pptxGraph coloring problem(DAA).pptx
Graph coloring problem(DAA).pptxHome
 
Greedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.pptGreedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.pptSeethaDinesh
 
data structure and algorithms Unit 5
data structure and algorithms Unit 5data structure and algorithms Unit 5
data structure and algorithms Unit 5infanciaj
 
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 YogiTekendra Nath Yogi
 
SATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHSSATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHScscpconf
 
Dialogue on 2 color number
Dialogue on 2 color numberDialogue on 2 color number
Dialogue on 2 color numberArmahedi 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) bitsSubhajit Sahu
 

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

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

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 

Recently uploaded (20)

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 

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.