Abstract
This paper considers the two-step colouring problem for an undirected connected graph. The problem is about colouring the graph in a given number of colours so that no pair of vertices at a distance of 1 or 2 between each other has the same colour. Also the corresponding recognition problem is set. The problem is closely related to the classical graph colouring problem. In the article, the polynomial reduction of the problems to one another is analyzed and proved. In particular, this allows us to prove the NP-completeness of the two-step colouring problem. Also we specify some of its properties. The two-step colouring problem as applied to rectangular grid graphs is considered separately. The maximum vertex degree in these graphs ranges from 0 to 4. The function of two-vertex colouring in the minimum possible number of colours was defined and proved for each case. The resulting functions are drawn so that each vertex is coloured independently from others. If the vertices are examined in a sequence, the time for colouring a rectangular grid graph will be polynomial.
Similar content being viewed by others
REFERENCES
Korsakov, S.V., Smirnov, A.V., and Sokolov, V.A., Principles of organizing the interoperability of equipollent nodes in a wireless mesh-network with time division multiple access, Autom. Control Comput. Sci., 2016, vol. 50, no. 6, pp. 415–422.
Harary, F., Graph Theory, Addison-Wesley Pub. Co., 1969.
Garey, M.R. and Johnson, D.S., Computers and Intractability: A Guide to the Theory of NP-Completeness, W.H. Freeman and Company, 1979.
Rublev, V.S., Elementy teorii grafov. Izomorfizm, planarnost’, marshruty v grafakh (Elements of Graph Theory. Isomorphism, Planarity, Routes in Graphs), Yaroslavl: Yarosl. Gos. Univ., 2010.
Umans, C. and Lenhart, W., Hamiltonian cycles in solid grid graphs, Proceedings of the 38th Annual IEEE Symposium on Foundations of Computer Science (FOCS), 1997, pp. 496–505.
Keshavarz-Kohjerdi, F. and Bagheri, A., An efficient parallel algorithm for the longest path problem in meshes, J. Supercomput., 2013, vol. 65, no. 2, pp. 723–741.
Funding
The study was funded by the Russian Foundation for Basic Research, scientific project no. 17-07-00823 A.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
CONFLICT OF INTEREST
The authors declare that they have no conflicts of interest.
ADDITIONAL INFORMATION
Natalya S. Medvedeva, orcid.org/0000-0002-1632-5411, Student.
Alexander V. Smirnov, orcid.org/0000-0002-0980-2507, PhD, Associate Professor.
Additional information
Translated by S. Kuznetsov
About this article
Cite this article
Medvedeva, N.S., Smirnov, A.V. NP-Completeness and One Polynomial Subclass of the Two-Step Graph Colouring Problem. Aut. Control Comp. Sci. 54, 685–696 (2020). https://doi.org/10.3103/S0146411620070159
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.3103/S0146411620070159