David Laughon CS594 Graph Theory Graph Coloring. Coloring – Assignment of labels to vertices k-coloring – a coloring where Proper k-coloring – k-coloring.

Slides:



Advertisements
Similar presentations
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Advertisements

22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
The Four Color Theorem (4CT)
CompSci 102 Discrete Math for Computer Science April 19, 2012 Prof. Rodger Lecture adapted from Bruce Maggs/Lecture developed at Carnegie Mellon, primarily.
From Coloring Maps to Avoiding Conflicts Nathaniel Dean, Robert M. Nehs, and Tong Wu Department of Mathematical Sciences Texas Southern University 3100.
Section 1.7: Coloring Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
[1][1][1][1] Lecture 4: Frequency reuse, channel assignment, and more June 15, Introduction to Algorithmic Wireless Communications David Amzallag.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Graph Colouring Lecture 20: Nov 25.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 24 Instructor: Paul Beame.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Coloring Algorithms and Networks. Coloring2 Graph coloring Vertex coloring: –Function f: V  C, such that for all {v,w}  E: f(v)  f(w) Chromatic number.
Graph Theory Ch.5. Coloring of Graphs 1 Chapter 5 Coloring of Graphs.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
The Maximum Independent Set Problem Sarah Bleiler DIMACS REU 2005 Advisor: Dr. Vadim Lozin, RUTCOR.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
Graph Theory and Graph Coloring Lindsay Mullen
Graph Coloring.
Chapter 9.8 Graph Coloring
CS 2813 Discrete Structures
Coloring 3/16/121. Flight Gates flights need gates, but times overlap. how many gates needed? 3/16/122.
9.8 Graph Coloring. Coloring Goal: Pick as few colors as possible so that two adjacent regions never have the same color. See handout.
Graph Coloring.
Let G be a pseudograph with vertex set V, edge set E, and incidence mapping f. Let n be a positive integer. A path of length n between vertex v and vertex.
Planar Graphs: Euler's Formula and Coloring Graphs & Algorithms Lecture 7 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:
Modeling Using Colorability Presented by: Kelley Louie CSC 252 Algorithms 252a-aj.
The Infamous Five Color Theorem
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 33.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
1 Graph Coloring: An Overview Graph Coloring Basics Planar/4-color Graphs Applications New Register Allocation Technique.
Problems on Paired Graphs Stephen Hedetniemi, Alice McRae, Dee Parks, Kelly Wise and come join in…
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Planar Graphs Graph Coloring
Chapter 10.8 Graph Coloring
CSE, IIT KGP Graph Coloring. CSE, IIT KGP K-coloring A k-coloring of G is a labeling f:V(G)  {1,…,k}.A k-coloring of G is a labeling f:V(G)  {1,…,k}.
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
Graph Colouring Lecture 20: Nov 25. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including.
Planar Graphs Lecture 10: Oct 21. This Lecture Today we will talk about planar graphs, and how to color a map using 6 colors. Planar graphs Euler’s formula.
Chap. 11 Graph Theory and Applications 1. Directed Graph 2.
Introduction to Graph Theory
NPC.
Great Theoretical Ideas in Computer Science for Some.
Chapter 10.8 Graph Coloring These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7 th ed., by Kenneth.
COMPSCI 102 Introduction to Discrete Mathematics.
FOUR COLOR THEOREM BY: JUSTIN GILMORE. FOUR COLOR THEOREM The four-color theorem states that any map in a plane can be colored using four-colors in such.
Welcome! Cinda Heeren Lecturer Department of CS UIUC The Beauty of Computer Science.
Xuding Zhu National Sun Yat-sen University Circular chromatic index.
Presented By Ravindra Babu, Pentyala.  Real World Problem  What is Coloring  Planar Graphs  Vertex Coloring  Edge Coloring  NP Hard Problem  Problem.
Great Theoretical Ideas In Computer Science
Planar Graphs Hubert Chan (Chapter 9.7) [O2 Proof Techniques]
Graph Coloring.
Graph Coloring Lots of application – be it mapping routes, coloring graphs, building redundant systems, mapping genes, looking at traffic patterns (see.
Bipartite Matching Lecture 8: Oct 7.
Great Theoretical Ideas In Computer Science
Graph Coloring CS 594 Stephen Grady.
What is the next line of the proof?
Tucker, Applied Combinatorics, Sec 2.4
Graph Theory Graph Colorings.
Chapter 10.8 Graph Coloring
Discrete Math II Howon Kim
Chapter 10.8 Graph Coloring
Chapter 10.8 Graph Coloring
Graph Coloring.
Chapter 10.8 Graph Coloring
Discrete Mathematics for Computer Science
Presentation transcript:

David Laughon CS594 Graph Theory Graph Coloring

Coloring – Assignment of labels to vertices k-coloring – a coloring where Proper k-coloring – k-coloring where vertices have different labels if they are adjacent Chromatic number – least k for which G is k-colorable - χ(G) Definitions

A Graph is k-chromatic if χ(G) = k Optimal coloring – proper k-coloring of a k-chromatic graph – Vertex-coloring problems Is a graph k-colorable for given k? What is χ(G) / what is the optimal coloring? Definitions

Four-color conjecture – Francis Guthrie, 1852 (F.G.) – Can any map be colored using at most 4 colors so that adjacent regions are not the same color? Many incomplete proofs (Kempe) – “Counterexamples” 5-color theorem proved in 1890 (Heawood) 4-color theorem finally proved in 1977 (Appel, Haken) – First major computer-based proof Graph coloring applies to non-planar graphs as well History

Martin Gardner, April 1975 edition of Scientific American As an April fool’s joke, claimed graph required 5 colors 4-color “Counterexample”

Proper 6-coloringOptimal 4-coloring Examples

For complete graphs, χ(G) = n Each vertex has n-1 edges that connect to every other vertex – Forces each vertex to have a unique color Examples – K n

A graph is 2-colorable iff it is bipartite Examples

ω(G) – size of largest clique in G χ(G) ≥ ω(G) – Clique of size n requires n colors – Can be a tight bound, but not always Examples

χ(G) = 7, ω(G) = 5

Mycielski’s Construction – Can be used to make graphs with arbitrarily large chromatic numbers, that do not contain K 3 as a subgraph Examples

χ(G) ≤ Δ(G) + 1 Greedy Algorithm: – Put the vertices of a graph in a sequence – For each vertex in the sequence, assign it the lowest indexed color not already assigned to adjacent vertices Not guaranteed to be optimal for every possible sequence Guaranteed optimal for at least one sequence Greedy Coloring

Vertex ColorYellow Green Greedy Coloring Example

Vertex ColorYellow Green Purple Greedy Coloring Example

A path in a graph that alternates between 2 colors First used by Kempe in his incorrect proof of the 4-color theorem Used in 5-color theorem and 4- color theorem proofs Kempe Chains

All planar graphs can be colored with at most 5 colors Basis step: True for n(G) ≤ 5 Induction step: n(g) > 5 There exists a vertex v in G of degree at most 5 (Theorem ) G – v must be 5-colorable by induction hypothesis 5-color theorem

If G is 5-colorable, done If G is not 5 colorable, we have: Is there a Kempe chain including v1 and v3? 5-color Theorem

There is no Kempe chainThere is a Kempe chain 5-color Theorem

There cannot be a Kempe chain including v2 and v4 v4 cannot directly influence v2 5-color Theorem

Similar to vertex coloring, except edges are colored – Adjacent edges have different colors Edge Coloring

Every edge-coloring problem can be transformed into a vertex- coloring problem Coloring the edges of graph G is the same as coloring the vertices in L(G) Not every vertex-coloring problem can be transformed tin an edge- coloring problem – Every graph has a line graph, but not every graph is a line graph of some other graph Edge Coloring

K 4 edge-coloringL(K 4 ) vertex-coloring Edge Coloring

Each vertex in G has a positive integer label x(v): the number of colors that must be assigned to that vertex The color sets of adjacent vertices must be disjoint Multi-coloring {Yellow, Green, Purple, Red} {Blue} {Yellow, Green} {Blue} χ(G) = 5

Every multi-coloring problem can be transformed to a vertex- coloring problem – For each vertex with x(v) = n, replace it with a clique of size n. – Add an edge from each vertex in the new clique to every vertex that the original vertex was adjacent to. – Single vertex-coloring now solves the problem Multi-coloring

χ(G) = 5

Scheduling Register allocation VLSI channel routing Biological networks (Khor) Testing printed circuit boards (Garey, Johnson, & Hing) Sudoku Applications

Each cell is a vertex Each integer label is a “color” A vertex is adjacent to another vertex if one of the following hold: – Same row – Same column – Same 3x3 grid Vertex-coloring solves Sudoku Applications: Sudoku

Decide if a graph is k-colorable is NP-complete Determining χ(G) is NP-hard k-colorable – O(2.445 ^n ) (Lawler) 3-colorable – O( ^n ) (Beigel, Eppstein) 4-colorable – O( ^n ) (Fomin, Gaspers, & Saurabh) Alternative methods of solving graph coloring – Swarm intelligence (Dorrigiv, Markib) State of the Art

Hadwiger Conjecture – Every k-chromatic graph has a subgraph that becomes K k through edge contractions – Open for k ≥ 7 Open Problems

Erdős–Faber–Lovász conjecture – Consider k complete graphs with exactly k vertices. If every pair of complete graphs shares at most one vertex, then the union of the graphs can be colored with k colors Open Problems

F. G. (June 10, 1854), "Tinting Maps", The Athenaeum: 726."Tinting Maps"The Athenaeum Heawood, P. J. (1890), "Map-Colour Theorems", Quarterly Journal of Mathematics, Oxford 24: 332–338 Heawood, P. J. Appel, Kenneth; Haken, Wolfgang (1977), "Every Planar Map is Four Colorable Part I. Discharging", Illinois Journal of Mathematics 21: 429–490 Appel, Kenneth; Haken, Wolfgang; Koch, John (1977), "Every Planar Map is Four Colorable Part II. Reducibility", Illinois Journal of Mathematics 21: 491–567 Appel, Kenneth; Haken, Wolfgang (October 1977), "Solution of the Four Color Map Problem", Scientific American 237 (4): 108–121 Khor, S., "Application of graph colouring to biological networks," Systems Biology, IET, vol.4, no.3, pp.185,192, May 2010 Garey, M.R.; Johnson, D.; Hing So, "An application of graph coloring to printed circuit testing," Circuits and Systems, IEEE Transactions on, vol.23, no.10, pp.591,599, Oct 1976 References

Lawler, E.L. (1976), "A note on the complexity of the chromatic number problem", Information Processing Letters 5 (3): 66–67 Lawler, E.L. Information Processing Letters Beigel, R.; Eppstein, D. (2005), "3-coloring in time O( n )", Journal of Algorithms 54 (2)): 168–204Eppstein, D.Journal of Algorithms Fomin, F.V.; Gaspers, S.; Saurabh, S. (2007), "Improved Exact Algorithms for Counting 3- and 4-Colorings", Proc. 13th Annual International Conference, COCOON 2007, Lecture Notes in Computer Science 4598, Springer, pp. 65–74Lecture Notes in Computer Science Dorrigiv, M.; Markib, H.Y., "Algorithms for the graph coloring problem based on swarm intelligence," Artificial Intelligence and Signal Processing (AISP), th CSI International Symposium on, vol., no., pp.473,478, 2-3 May 2012 References

Prove that every graph has a vertex ordering such that the greedy coloring algorithm produces an optimal coloring Given a k-chromatic graph and an optimal coloring of it, prove that for each color i there is a vertex with color i that is adjacent to vertices of all the other k-1 colors Homework