Docsity

Graph Coloring: K-Coloring, Chromatic Number, and Algorithms, Slides of Computer Science

Partial preview of the text

Download Graph Coloring: K-Coloring, Chromatic Number, and Algorithms and more Slides Computer Science in PDF only on Docsity!

Coloring

K-

coloring

| |

A

A

k k-

-coloring

coloring

of G is a labeling of G is a labeling

f:V(G) f:V(G)

Æ

Æ

…,k}.

,k}.

z z

The labels are The labels are

colors colors

z z

The vertices with color The vertices with color

i i

are a are a

color class color class

z z

A A

kk

-coloring is-

coloring is

proper proper

if if

f(x)f(x

)

≠ ≠

f(y f(y)

)

for all (for all

(

x, yx

, y

) in) in

E(G) E(G)

z z

A graph G is A graph G is

k k-

-colorable

colorable

if it has a properif it has a proper

k k-

-coloring

coloring

z z

“ “Proper coloring

Proper coloring”

” and just

and just “

“coloring

coloring”

” are used interchangeably

are used interchangeably

sometimes sometimes

| |

The The

chromatic number chromatic number

(G)

(G)

is the minimumis the minimum

k k

such that such that

G is G is

k k

-colorable-

colorable

z z

If If

χ χ

(G) = k (G) = k

, then G is, then G is

k k-

-chromatic

chromatic

z z

If If

χ χ

(G) = k (G) = k

, but, but

χ χ

(H) < k (H) < k

for every proper for every proper subgraph

subgraph

H H

of of

G, G,

then then

G G

is is

color color-

-critical

critical

or or

k k-

-critical

critical

Algorithm Greedy-Coloring

| |

The greedy coloring with respect to a vertex ordering The greedy coloring with respect to a vertex ordering

v v

1 1

, v

v

n n

of of

V(G)

V(G)

is obtained by coloring vertices in the is obtained by coloring vertices in the

order order

v v

1 1

, v

v

nn

assigning to assigning to

v v

ii

the smallest indexed the smallest indexed

color not already used on its lower color not already used on its lower-

-indexed neighbors.

indexed neighbors.

Upper Bounds for

| |

χ χ

(G)

(G)

(G) + 1

(G) + 1

| |

If a graph G has degree sequence d If a graph G has degree sequence d

11

d d

n n

, then , then

χ χ

(G)

(G)

1 + max 1 + max

i i

min{ min{ d

d

i i

, i , i

| |

If H is a If H is a

k k

-critical graph, then

critical graph, then

δ δ

(H)

(H)

k k

| |

If G is a graph, then If G is a graph, then

χχ

(G)

(G)

1+ max

max

H H

⊆⊆

G G

δ δ

(H

(H)

| |

Brooks Theorem: Brooks Theorem:

If G is a connected graph other than a clique or an If G is a connected graph other than a clique or an

odd cycle, then odd cycle, then

χ χ

(G)

(G)

(G).

(G).

Mycielski’s Construction

| |

Mycielski Mycielski found a construction that builds from

found a construction that builds from

any given any given

k k

-chromatic triangle

chromatic triangle-

-free graph G a

free graph G a

k+ k+

-chromatic triangle

chromatic triangle-

-free

free supergraph

supergraph G

G

′ ′

. .

z z

Given G with vertex set V = {v Given G with vertex set V = {v

11

,v

v

nn

}, add vertices }, add vertices

U = {u U = {u

11

…,u

,u

n n

} and one more vertex w. } and one more vertex w.

z z

Beginning with G Beginning with G

[V] = G, add edges to make [V] = G, add edges to make u

u

ii

adjacent to all of N adjacent to all of N

GG

(v (v

i i

), and then make N(w) = U. ), and then make N(w) = U.

Note that U is an independent set in G Note that U is an independent set in G

Min/Max Edges in k-chromaticGraphs

|

Min edges in

k

-chromatic graph with vertices =

|

k

-chromatic graph of n vertices with max no. of edges

z

Turan graph (T

n,r

) : complete

r

-partite graph with

n

vertices such that the difference between the no.of nodes in any two partite sets is at most 1

z

T

n,k

has the maximum no. of edges

⎞⎟ ⎟⎠

⎛⎜⎜⎝

k 2

Chromatic Recurrence

| |

The function The function

χ

χ

(G; (G;

k k

) counts the mappings ) counts the mappings

f: f:

V(G) V(G)

Æ Æ

[k] that properly color G from the set [k] that properly color G from the set

[k] = {1, [k] = {1,…

…,k}. In this definition, the

,k}. In this definition, the

k k

-colors

colors

need not all be used, and permuting the need not all be used, and permuting the

colors used produces a different coloring. colors used produces a different coloring.

| |

If G is a simple graph and If G is a simple graph and

e

e

∈ ∈

E(G), then

E(G), then

χ χ

(G; k) = (G; k) =

χ χ

(G (G

− −

e e

; k)

; k)

− − χ

χ

(G (G

. .

e e

; k) ; k)

Edge Coloring

| |

A A

k k-

-edge

edge-

-coloring

coloring

of G is a labeling of G is a labeling

f f

: E(G)

: E(G)

Æ Æ

[k] [k]

z z

The labels are The labels are

colors colors

z z

The set of edges with one color is a The set of edges with one color is a

color class. color class.

z z

A

A

k k-

edge edge-

-coloring is

coloring is

proper proper

if edges sharing a if edges sharing a

vertex have different colors; equivalently, each vertex have different colors; equivalently, each

color class is a matching color class is a matching

z z

A graph is A graph is

k k-

-edge

edge-

-colorable

colorable

if it has a proper if it has a proper

k k

edge edge-

-coloring

coloring

z z

The The

edge edge-

-chromatic

chromatic-

-number

number

χ′ χ′

(G) of a loop (G) of a loop-

-less

less

graph G is the least graph G is the least

kk

such that G is such that G is k

k-

-edge

edge-

colorable colorable