Applications of Graph Coloring in CSE
Applications of Graph Coloring in CSE
net/publication/344016939
CITATIONS READS
11 18,157
1 author:
Shamim Ahmed
Bangladesh University of Business and Technology
25 PUBLICATIONS 102 CITATIONS
SEE PROFILE
All content following this page was uploaded by Shamim Ahmed on 01 September 2020.
Fig 4. A 3-Coloring of the Triangulated Polygon in Fig 3, take the smallest color
class to place the cameras. Here, we can choose black or green color class to
place the cameras.
Fig 2. A Simple Polygon. Now we know that └ n/3 ┘cameras are always sufficient. But
we don’t have an efficient algorithm to compute the camera
positions yet. What we need is a fast algorithm for
triangulating a simple polygon. The algorithm should deliver
a suitable representation of the triangulation a
doubly-connected edge list, for instance so that we can step in
constant time from a triangle to its neighbors. Given such a
representation, we can compute a set of at most └ n/3
┘camera positions in linear time with the method described
above: use depth first search on the dual graph to compute a
3-colouring and take the smallest color class to place the
cameras. In the coming sections we describe how to compute
a triangulation in O(nlogn) time. Anticipating this, we Nations Rugby Championships, various European and South
already state the final result about guarding a polygon. American domestic soccer leagues, and the England and
Wales County Cricket Championships. Round-robins are
schedules involving n teams, where each team is required to
B. Physical Layout Segmentation play all other teams exactly m times within a fixed number of
Automatic mail sorting machines of most recent systems rounds. The most common types are single round-robins
process about 17 mail pieces per second. That requires a fast (SRRs), where m = 1, and double round- robins (DRRs),
and precise OCR based recognition of the block-address. where m = 2 (in the latter, teams will typically be scheduled
This recognition is mainly conditioned by a correct address to meet once in each other's home venue).
lines organization [2][3][4]. Once the envelope image has The issue of producing valid, compact round-robin sports
been acquired by a linear CCD camera, three principal schedules by considering the problem as one of graph
modules contribute to the task of the address-block coloring. Using this model, which can also be extended to
localization: physical layout segmentation of envelope incorporate additional constraints, the difficulty of such
image, feature extraction and address-block identification. problems is then gauged by considering the performance of a
number of different graph coloring algorithms. In many
Every-day, the postal sorting systems diffuse several tons of cases solutions to round-robin scheduling problems can be
mails. It is noted that the principal origin of mail rejection is produced via the utilization of well-known graph coloring
related to the failure of address-block localization task, principals. In particular, we have seen that three existing,
particularly, of the physical layout segmentation stage. The heuristic-based graph coloring methods have been able to
bottom-up and top-down segmentation methods bring construct valid compact round-robin schedules, often in the
different knowledge that should not be ignored when we need presence of a large number of additional hard constraints.
to increase the robustness. Hybrid methods combine the two However, we have also noted areas in which some of these
strategies in order to take advantages of one strategy to the methods seem to struggle, such as when tackling very large
detriment of other. Starting from these remarks, our proposal instances, or those in the noted phase transition regions.
makes use of a hybrid segmentation strategy more adapted to
the postal mails. The high level stages are based on the
hierarchical graphs coloring. Today, no other work in this
context has make use of the powerfulness of this tool. The
performance evaluation of our approach was tested on a
corpus of 10000 envelope images. The processing times and
the rejection rate were considerably reduced.
cannot assign the same aircraft to both flights. The vertices of if the corresponding disks intersect. A 3-approximation
the conflict graph correspond to the flights, two vertices are algorithm for coloring unit disk graphs is given in [9],
connected if the corresponding time intervals overlap. yielding a 3-approximation for the frequency assignment
Therefore the conflict graph is an interval graph, which can problem.
be colored optimally in polynomial time.
G. Final Exam Timetabling as a Grouping Problem
Linear Linkage Encoding (LLE) is a recently proposed
E. Biprocessor Tasks representation scheme for evolutionary algorithms. This
Assume that we have a set of processors (machines) and a representation has been used only in data clustering.
set of tasks, each task has to be executed on two preassigned However, it is also suitable for grouping problems. Final
processors simultaneously. A processor cannot work on two exam timetabling requires satisfactory assignment of
jobs at the same time. For example, such biprocessor tasks timetable slots (periods) to a set of exams. Each exam is taken
arise when we want to schedule file transfers between by a number of students, based on a set of constraints. In most
processors [5] or in the case of mutual diagnostic testing of of the studies, NE like representations are used. In [10], a
processors [6]. Consider the graph whose vertices correspond randomly selected light or a heavy mutation followed by a
to the processors, and if there is a task that has to be executed hill climbing method was applied. Various combinations of
on processors i and j, then we add an edge between the two constraint satisfaction techniques with genetic algorithms
corresponding vertices. Now the scheduling problem can be can be found in [12]. Paquete et. al. [14] applied a
modeled as an edge coloring of this graph: we have to assign multi-objective evolutionary algorithm based on pareto
colors to the edges in such a way that every color appears at ranking with two objectives: minimize the number of
most once at a vertex. Edge coloring is NP-hard [7], but there conflicts within the same group and between groups. Wong
are good approximation algorithms. The maximum degree Δ et. al [15] applied a GA with a non-elitist replacement
of the graph is an obvious lower bound on the number of strategy. After genetic operators are applied, violations are
colors needed to color the edges of the graph. On the other repaired with a hill climbing fixing process. In their
hand, if there are no multiple edges in the graph (there are no experiments a single problem instance was used. Ozcan et.
two tasks that require the same two processors), then al. [13] proposed a memetic algorithm (MA) for solving final
Vizing’s Theorem gives an efficient method for obtaining a exam timetabling at Yeditepe University. MA utilizes a
(Δ + 1)-edge coloring. If multiple edges are allowed, then the violation directed adaptive hill climber. Considering the task
algorithm of [8] gives an 1:1-approximate solution. of minimizing the number of exam periods and removing the
clashes, final exam timetabling reduces to the graph coloring
problem [11].
Given a map drawn on the plane or the surface of a sphere, Fig. 9. The map of India
the famous four colour theorem asserts that it is always
possible to properly color the regions of the map such that no
two adjacent regions are assigned the same color, using at
most four distinct colors[18][20][21].
Fig. 8. Map coloring of the states in the U.S. We use the vertex coloring algorithm [19] to find a proper
coloring of the map of India with four colors, see figures 5
For any given map, we can construct its dual graph as and 6 above. The Groupe Spécial Mobile (GSM) was created
follows. Put a vertex inside each region of the map and in 1982 to provide a standard for a mobile telephone system.
connect two distinct vertices by an edge if and only if their The first GSM network was launched in 1991 by Radiolinja
respective regions share a whole segment of their boundaries in Finland with joint technical infrastructure maintenance
in common. Then, a proper vertex coloring of the dual graph from Ericsson. Today, GSM is the most popular standard for
yields a proper coloring of the regions of the original map. mobile phones in the world, used by over 2 billion people
across more than 212 countries. GSM is a cellular network
with its entire geographical range divided into hexagonal
cells. Each cell has a communication tower which connects
with mobile phones within the cell. All mobile phones
connect to the GSM network by searching for cells in the
immediate vicinity. GSM networks operate in only four
different frequency ranges. The reason why only four
different frequencies suffice is clear: the map of the cellular
regions can be properly colored by using only four different
colors! So, the vertex coloring algorithm may be used for
assigning at most four different frequencies for any GSM
mobile phone network, see figure 10 below.
REFERENCES
Fig 11. Colored graph G for 5 courses.
[1] Narasingh Deo, “Graph theory with applications to engineering and
computer science”, Prentice Hall of India, 1990.
In Table 1 below, an asterisk indicates those pairs of courses [2] Wang Ching-Huei, P.W. Palumbo, S.N. Srihari, Object recognition in
visually complex environments: an architecture for locating address
that would cause a timetabling conflict if both were blocks on mail pieces, Pattern Recognition, 1988., 9th International
scheduled at the same time. Conference, IEEE, 1988, vol.1, Pages: 365 – 367.
[3] C Viard-Gaudin, D Barba, A multi-resolution approach to extract the
address block on flat mail pieces, ICASSP-91, International Conference,
vol.4, Pages: 2701 - 2704 .