Главная Случайная страница


Полезное:

Как сделать разговор полезным и приятным Как сделать объемную звезду своими руками Как сделать то, что делать не хочется? Как сделать погремушку Как сделать так чтобы женщины сами знакомились с вами Как сделать идею коммерческой Как сделать хорошую растяжку ног? Как сделать наш разум здоровым? Как сделать, чтобы люди обманывали меньше Вопрос 4. Как сделать так, чтобы вас уважали и ценили? Как сделать лучше себе и другим людям Как сделать свидание интересным?


Категории:

АрхитектураАстрономияБиологияГеографияГеологияИнформатикаИскусствоИсторияКулинарияКультураМаркетингМатематикаМедицинаМенеджментОхрана трудаПравоПроизводствоПсихологияРелигияСоциологияСпортТехникаФизикаФилософияХимияЭкологияЭкономикаЭлектроника






Graph Coloring Problem





The graph coloring problem consists in an assignment of integer labels {1,2,3,…} (called colors) to vertices of an undirected graph so that:

- no two adjacent vertices get the same color (correct coloring);

- a minimum possible number of colors is applied.

 

 

Definition 8.6. The minimum possible number of different colors required for correct coloring of vertices of a graph G = <VG, EG > is called the chromatic number of G and is denoted by c(G).

 

 

If |EG| ¹ 0 or G is not a complete graph then c(G) Î { 2, …, |VG| - 1}.

 

Some important practical problems are presented as a graph coloring problem. Here is an example of a scheduling problem. Let {t1, t2, …, tn} denote a set of technological operations to be performed in shortest time. In a graph, operations (now vertices) ti and tj are connected by an edge if they cannot be performed at the same time. By doing so we convert the problem of operation scheduling into the problem of minimum correct coloring of graph vertices. One color corresponds to the same start moment of the operations-vertices labelled by this color.

Suppose, there are 6 operations connected into such a graph.

 

Using some graph coloring algorithm, we partition the set of vertices into such subsets: {B} with color 1, {C, F} with color 2 and {A, D, G} with color 3. Taking into account the specified sequences of operations (B and F after A, and F after B), the operations are scheduled for execution in parallel so:

- {A, D, G} are performed in the first turn.

- {B}is done in the second turn.

- {C, F} are carried out in the third turn.

Note: Directions of edges are ignored at the stage of vertex coloring. These directions are used to choose an appropriate time slot (a turn in the schedule) for each set of operations.

The above example shows the necessity for an efficient graph coloring algorithm.

 

Date: 2015-12-11; view: 349; Нарушение авторских прав; Помощь в написании работы --> СЮДА...



mydocx.ru - 2015-2024 year. (0.008 sec.) Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав - Пожаловаться на публикацию