Docsity

Graph Coloring - Applied Graph Theory - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Graph Coloring - Applied Graph Theory - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

P

Graph Coloring

Graph Coloring

K

K-

coloring

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}.

  • The labels are

The labels are

colors colors

  • The vertices with color

The vertices with color

i i

are a are a

color class color class

– A
A

k k

-coloring is

coloring is

proper proper

if if

x x

y y

implies implies

f(x) f(x)

f(y) f(y)

  • A graph G is

A graph G is

k k-

-colorable

colorable

if it has a proper if it has a proper

k k-

-coloring

coloring

  • The

The

chromatic number chromatic number

(G)
(G)

is the maximum is the maximum

k k

such such

that G is that G is

k k

-colorable

colorable

  • If

If

(G) = k (G) = k

, then G is , then G is

k k-

-chromatic

chromatic

  • 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

Docsity.com

Cartesian Product

Cartesian Product

The

The

Cartesian product

Cartesian product

of graphs G and H,

of graphs G and H,

written as G

written as G

H, is the graph with vertex set

H, is the graph with vertex set

V(G) X V(H) specified by putting (

V(G) X V(H) specified by putting (

u,v

u,v

adjacent to (

adjacent to (

u

u

,v

,v

) if and only if

) if and only if

  • (1) u = u

(1) u = u

and vv and vv

E(H), or E(H), or

  • (2) v = v

(2) v = v

and and uu

uu

E(G)
E(G)

A graph G is A graph G is

m m-

colorable if and only if G colorable if and only if G

K
K

m m

has has

an an idependent

idependent set of size n(G).

set of size n(G).

Also: Also:

χ χ

(G
(G

H) = max{ H) = max{

χ χ

(G),
(G),

χ χ

(H) }
(H) }

Algorithm Greedy

Algorithm Greedy-

-Coloring

Coloring

The greedy coloring with respect to a vertex

The greedy coloring with respect to a vertex

ordering

ordering

v

v

1 1

, v

v

n n

of

of

V(G)

V(G)

is obtained by

is obtained by

coloring vertices in the order

coloring vertices in the order

v

v

11

, v

v

n n

assigning to

assigning to

v

v

i i

the smallest indexed color

the smallest indexed color

not already used on its lower

not already used on its lower-

-indexed

indexed

neighbors.

neighbors.

More results

More results

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

HH

⊆ ⊆

G G

(H)

(H)

Brooks Theorem:

Brooks Theorem:

If G is a connected graph other than a clique

If G is a connected graph other than a clique

or an odd cycle, then

or an odd cycle, then

(G)

(G)

(G).

(G).

Mycielski’s

Mycielski’s Construction

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

  • 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.

  • 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

Docsity.com

Critical Graphs

Critical Graphs

Suppose S is a set of vertices in a graph G. An Suppose S is a set of vertices in a graph G. An

S
S

component of G is an induced component of G is an induced subgraph

subgraph of G whose

of G whose

vertex set consists of vertex set consists of

S
S

and the vertices of a and the vertices of a

component of G component of G

S.
S.

If G is If G is

k k

-critical, then G has no

critical, then G has no cutset

cutset of vertices

of vertices

inducing a clique. In particular, if G has a inducing a clique. In particular, if G has a cutset

cutset

S={x,y}, then x and y are not adjacent and G has an S={x,y}, then x and y are not adjacent and G has an

S
S

-component H such that

component H such that

χ χ

(H +

(H + xy

xy)

k k

Chromatic Recurrence

Chromatic Recurrence

The function The function

χ χ

(G;
(G;

k k

) counts the mappings ) counts the mappings

f: f:

V(G)
V(G)
Æ
Æ

[k] [k]

that properly color G from the set [k] = {1, that properly color G from the set [k] = {1,…

…,k}. In this

,k}. In this

definition, the definition, the

k k

-colors need not all be used, and

colors need not all be used, and

permuting the colors used produces a different permuting the colors used produces a different

coloring. 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

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]

  • The labels are

The labels are

colors colors

  • The set of edges with one color is a

The set of edges with one color is a

color class. color class.

– 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

  • 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

  • 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

k k

such that G is such that G is k

k-

-edge

edge-

colorable colorable

Results

Results

χ′ χ′

(G)
(G)
(G).
(G).

If G is a loop If G is a loop-

-less graph, then

less graph, then

χ′ χ′

(G)
(G)
(G)
(G)

If G is bipartite, then If G is bipartite, then

χ′ χ′

(G) =
(G) =
(G).
(G).

A regular graph G has a A regular graph G has a

(G)
(G)-

-edge coloring if and

edge coloring if and

only if it decomposes into 1 only if it decomposes into 1-

-factors. We say that G is

factors. We say that G is

-factorable.

factorable.

Every simple graph with maximum degree Every simple graph with maximum degree

has a has a

proper proper

-edge

edge-

-coloring.

coloring.