Abstract
Consider a graph \(G = (V,E)\) and a coloring c of vertices with colors from \([\ell ]\). A vertex v is said to be happy with respect to c if \(c(v) = c(u)\) for all neighbors u of v. Further, an edge (u, v) is happy if \(c(u) = c(v)\). Given a partial coloring c of V, the Maximum Happy Vertex (Edge) problem asks for a total coloring of V extending c to all vertices of V that maximizes the number of happy vertices (edges). Both problems are known to be NP-hard in general even when \(\ell = 3\), and is polynomially solvable when \(\ell = 2\). In [IWOCA 2016] it was shown that both problems are polynomially solvable on trees, and for arbitrary k, it was shown that MHE is NP-hard on planar graphs and is \(\mathsf {FPT}\) parameterized by the number of precolored vertices and branchwidth.
We continue the study of this problem from a parameterized perspective. Our focus is on both structural and standard parameterizations. To begin with, we establish that the problems are \(\mathsf {FPT}\) when parameterized by the treewidth and the number of colors used in the precoloring, which is a potential improvement over the total number of precolored vertices. Further, we show that both the vertex and edge variants of the problem is \(\mathsf {FPT}\) when parameterized by vertex cover and distance-to-clique parameters. We also show that the problem of maximizing the number of happy edges is \(\mathsf {FPT}\) when parameterized by the standard parameter, the number of happy edges. We show that the maximum happy vertex (edge) problem is NP-hard on split graphs and bipartite graphs and maximum happy vertex problem is polynomially solvable on cographs.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Agrawal, A.: On the parameterized complexity of happy vertex coloring. In: International Workshop on Combinatorial Algorithms. Springer (2017, in press)
Aravind, N.R., Kalyanasundaram, S., Kare, A.S.: Linear time algorithms for happy vertex coloring problems for trees. In: Mäkinen, V., Puglisi, S.J., Salmela, L. (eds.) IWOCA 2016. LNCS, vol. 9843, pp. 281–292. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-44543-4_22
Aravind, N., Kalyanasundaram, S., Kare, A.S., Lauri, J.: Algorithms and hardness results for happy coloring problems. arXiv preprint arXiv:1705.08282 (2017)
Courcelle, B.: Graph rewriting: an algebraic and logic approach. In: Handbook of theoretical computer science, pp. 194–242 (1990)
Cygan, M., Fomin, F.V., Kowalik, Ł., Lokshtanov, D., Marx, D., Pilipczuk, M., Pilipczuk, M., Saurabh, S.: Parameterized Algorithms. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21275-3
Diestel, R.: Graph Theory. GTM, vol. 173. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-662-53622-3
Downey, R.G., Fellows, M.R.: Fundamentals of Parameterized Complexity. TCS, vol. 4. Springer, London (2013). https://doi.org/10.1007/978-1-4471-5559-1
Habib, M., Paul, C.: A survey of the algorithmic aspects of modular decomposition. Comput. Sci. Rev. 4(1), 41–59 (2010)
Misra, N., Reddy, I.V.: The parameterized complexity of happy colorings. arXiv preprint arXiv:1708.03853 (2017)
Zhang, P., Li, A.: Algorithmic aspects of homophyly of networks. Theor. Comput. Sci. 593, 117–131 (2015)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this paper
Cite this paper
Misra, N., Reddy, I.V. (2018). The Parameterized Complexity of Happy Colorings. In: Brankovic, L., Ryan, J., Smyth, W. (eds) Combinatorial Algorithms. IWOCA 2017. Lecture Notes in Computer Science(), vol 10765. Springer, Cham. https://doi.org/10.1007/978-3-319-78825-8_12
Download citation
DOI: https://doi.org/10.1007/978-3-319-78825-8_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-78824-1
Online ISBN: 978-3-319-78825-8
eBook Packages: Computer ScienceComputer Science (R0)