Documente Academic
Documente Profesional
Documente Cultură
Lecture Series
CT-520
GRAPH
3.8
G
• Each map in the plane can be represented by a graph (Dual
Graph).
– Vertex: Region
– Edge: Region A and B have a common border
• Dual Graph is planar graph
B
B
G
C D
A C
F D G
A
E F
GRAPH
3.8
G
• The problem of coloring the regions of a maps is equivalent to the
problem of coloring the vertices of the dual graph so that no two
adjacent vertices in the graph have the same color.
• The least number of colors needed for a coloring graph is given by
chromatic number which denoted by χ (G).
• The Chromatic number for planar graph is not greater that 4.
B Green
B
G
C red Yellow Blue C
Blue D G D
A
A F
F
Green E
A coloring
Dual Graph
E
with χ (G) = 4. red A coloring map
Graph Coloring
• 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.
• The chromatic number of a graph is the least number of colors
needed for a coloring of the graph.
White
White Yellow
Green Yellow
Yellow White
1
4 2
2
3
5 1
6
Vertex Coloring Examples
The problem says that, there are some people who belong to different
committees and each person might belong to more than one
committee. Now, the goal is to schedule the meeting of these
committees in such a way that the meetings are all finished in
minimum possible time. In, other words try to schedule the meetings
in such a way that, the maximum number of committees have
simultaneous meetings. But, the scheduling must be such that two
committees having a common member do not meet simultaneously,
so that each person can attend all his meetings.
1 red
green 5 4 brown
Scheduling Problem
• Q. How many time periods are needed to offer the following courses
for the set of student schedules? Find the chromatic number.
• Course Listings:
Combinatory (C), Graph Theory (G), Linear Algebra (L),
Numerical Analysis (N), Probability (P), Statistics (S), Topology(T)
• Student Schedules:
CLT, CGS, GN, CL, LN, CG, NP, GL, CT, CST, PS, PT
Scheduling Times For Lectures
Suppose that you are responsible for scheduling times for lectures in
a university. You want to make sure that any two lectures with a
common student occur at different times to avoid a conflict. We
could put the various lectures on a chart and mark with an “X” any
pair that has students in common:
A more convenient representation of this information is a graph with
one vertex for each lecture and in which two vertices are joined if
there is a convict between them:
Coloring
3 5 Sequence
1
2 4
43
Ch.5. Coloring of Graphs
Edge Coloring
In graph theory, an edge coloring of a graph is an assignment of
“colors” to the edges of the graph so that no two adjacent edges have
the same color.
The figure below shows an edge coloring of a graph by the colors red,
blue, and green.
Edge chromatic index
The chromatic index gives the minimum number of colors with
which graph's edges can be colored.
For example, the edges of the graph above in the illustration can be
colored by three colors but cannot be colored by two colors, so the
graph shown has chromatic index three.
Petersen graph
Vertex Coloring partitions the graph into Independent Sets, each set containing
only mutually non-adjacent vertices. On the other hand Edge Coloring partitions
the graph into Matching's.
Multiple edges between two vertices has no consequence in Vertex Coloring. But
it increases the required number of colors for Edge Coloring.
The edge-chromatic number is denoted as χ' (G). And The chromatic number for
Vertex Coloring is denoted as χ (G)
Which problems can be modeled as Vertex Coloring and which are better suited
for Edge Coloring? Clearly, if one of these can be applied, then the other one can
be applied too. A problem can be converted from a Vertex Coloring problem to an
Edge Coloring problem using Line Graphs. So, there is no rule stating that this
problem is good for Vertex Coloring and that one for Edge Coloring.