Two-Step Colouring of Grid Graphs of Different Types

Autor: Alexander Valeryevich Smirnov
Jazyk: English<br />Russian
Rok vydání: 2022
Předmět:
Zdroj: Моделирование и анализ информационных систем, Vol 29, Iss 3, Pp 166-180 (2022)
Druh dokumentu: article
ISSN: 1818-1015
2313-5417
DOI: 10.18255/1818-1015-2022-3-166-180
Popis: In this article, we consider the NP-hard problem of the two-step colouring of a graph. It is required to colour the graph in a given number of colours in a way, when no pair of vertices has the same colour, if these vertices are at a distance of 1 or 2 between each other. The optimum two-step colouring is one that uses the minimum possible number of colours.The two-step colouring problem is studied in application to grid graphs. We consider four types of grids: triangular, square, hexagonal, and octogonal. We show that the optimum two-step colouring of hexagonal and octogonal grid graphs requires 4 colours in the general case. We formulate the polynomial algorithms for such a colouring. A square grid graph with the maximum vertex degree equal to 3 requires 4 or 5 colours for a two-step colouring. In the paper, we suggest the backtracking algorithm for this case. Also, we present the algorithm, which works in linear time relative to the number of vertices, for the two-step colouring in 7 colours of a triangular grid graph and show that this colouring is always correct. If the maximum vertex degree equals 6, the solution is optimum.
Databáze: Directory of Open Access Journals