SLIDE 1
Colouring
Colouring For a graph G = (V, E), a colouring is a function c: V → N such that uv ∈ E implies c(u) = c(v). A graph is k-colourable if there is a colouring c which uses at most k colours, i. e., c: V → {1, . . . , k}.
2 / 7
Colouring Colouring Colouring For a graph G = ( V , E ) , a - - PowerPoint PPT Presentation
Colouring Colouring Colouring For a graph G = ( V , E ) , a colouring is a function c : V N such that uv E implies c ( u ) = c ( v ) . A graph is k -colourable if there is a colouring c which uses at most k colours, i. e., c : V {
2 / 7
◮ G is k-colourable if and only if each block of G is k-colourable. ◮ If G has a clique of size k, a colouring for G requires at least k colours.
3 / 7
◮ Pick an arbitrary vertex v. ◮ Run a BFS starting in v. ◮ For all vertices u in even distance to v, set c(u) := 1. For all
◮ If there is an edge uw with c(u) = c(w), then G is not 2-colourable.
4 / 7
6 / 7
7 / 7