|
Algorithms
Two-step colouring of grid graphs of different types
A. V. Smirnov P. G. Demidov Yaroslavl State University, 14 Sovetskaya str., Yaroslavl 150003, Russia
Abstract:
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.
Keywords:
two-step graph colouring, grid graph, triangular grid graph, square grid graph, hexagonal grid graph, octogonal grid graph.
Received: 18.07.2022 Revised: 30.08.2022 Accepted: 02.09.2022
Citation:
A. V. Smirnov, “Two-step colouring of grid graphs of different types”, Model. Anal. Inform. Sist., 29:3 (2022), 166–180
Linking options:
https://www.mathnet.ru/eng/mais774 https://www.mathnet.ru/eng/mais/v29/i3/p166
|
Statistics & downloads: |
Abstract page: | 56 | Full-text PDF : | 20 | References: | 9 |
|