10.8 Graph Coloring Flashcards

1
Q

Dual graph of a map :

A

Each map in the plane can be represented by a graph. To set up this correspondence, each
region of the map is represented by a vertex. Edges connect two vertices if the regions represented by these vertices have a common border. Two regions that touch at only one point are
not considered adjacent. The resulting graph is called the dual graph of the map. By the way
in which dual graphs of maps are constructed, it is clear that any map in the plane has a planar
dual graph.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Graph coloring :

definition 1:

A

A coloring of a simple graph is the assignment of a color to each vertex of the graph so that
no two adjacent vertices are assigned the same color.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Definition 2:

Chromatic number:

A

The chromatic number of a graph is the least number of colors needed for a coloring of
this graph. The chromatic number of a graph G is denoted by 𝜒(G). (Here 𝜒 is the Greek
letter chi.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Theorem 1:

THE FOUR COLOR THEOREM

proof?

A

The chromatic number of a planar graph is no greater
than four.

Many false were given, finally one using computers, it does case by case analysis.
They showed that if the four color theorem were false, there would have to be a counterexample of one of approximately 2000 different types, and they then showed that none of these types exists.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Show that chromatic number of graph is k:

A

Two things are required:
1: we must
show that the graph can be colored with k colors. This can be done by constructing such a
coloring.
2: We must show that the graph cannot be colored using fewer than k colors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

chromatic number of Kn ?

A

𝜒(Kn) = n.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

e chromatic number of the complete bipartite graph Km,n :

A

2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the chromatic number of the graph Cn, where n ≥ 3

A

In general, two colors are needed to color Cn when n is even. To construct such a coloring,
simply pick a vertex and color it red. Proceed around the graph in a clockwise direction (using a planar representation of the graph) coloring the second vertex blue, the third vertex red,
and so on. The nth vertex can be colored blue, because the two vertices adjacent to it, namely
the(n − 1)st and the first vertices, are both colored red.

When n is odd and n > 1, the chromatic number of Cn is 3. To see this, pick an initial vertex.
To use only two colors, it is necessary to alternate colors as the graph is traversed in a clockwise
direction. However, the nth vertex reached is adjacent to two vertices of different colors, namely,
the first and (n − 1)st. Hence, a third color must be used.

𝜒(Cn) = 2 if n is an even positive integer with n ≥ 4 and 𝜒(Cn) = 3 if n is an odd positive integer with n ≥ 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Algorithm to find Chromatic number of graph :

A
  • exponential Links worst-case time complexity (in the number of vertices of the graph).
  • even approximation is difficult.

It has been shown that if
there were an algorithm with polynomial worst-case time complexity that could approximate
the chromatic number of a graph up to a factor of 2 (that is, construct a bound that was no
more than double the chromatic number of the graph), then an algorithm with polynomial worstcase time complexity for finding the chromatic number of the graph would also exist.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Applications of Graph Colorings

A
  1. Scheduling
  2. Frequency Assignments
  3. Index Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Scheduling final exams :

A

How can the final exams at a university be scheduled so that no
student has two exams at the same time?

This scheduling problem can be solved using a graph model, with vertices representing
courses and with an edge between two vertices if there is a common student in the courses they
represent. Each time slot for a final exam is represented by a different color. A scheduling of the
exams corresponds to a coloring of the associated graph.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Frequency Assignments

A

Television channels 2 through 13 are assigned to stations in North
America so that no two stations within 150 miles can operate on the same channel. How can
the assignment of channels be modeled by graph coloring?

Construct a graph by assigning a vertex to each station. Two vertices are connected
by an edge if they are located within 150 miles of each other. An assignment of channels corresponds to a coloring of the graph, where each color represents a different channel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Index Registers

A

In efficient compilers the execution of loops is speeded up when frequently
used variables are stored temporarily in index registers in the central processing unit, instead
of in regular memory. For a given loop, how many index registers are needed? This problem
can be addressed using a graph coloring model. To set up the model, let each vertex of a graph
represent a variable in the loop. There is an edge between two vertices if the variables they
represent must be stored in index registers at the same time during the execution of the loop.
Thus, the chromatic number of the graph gives the number of index registers needed, because
different registers must be assigned to variables when the vertices representing these variables
are adjacent in the graph.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly