Abstract
Given a graph \(G = (V, E)\), a coloring function \(\chi : V \rightarrow C\), assigning each vertex a color, is called convex if, for every color \(c \in C\), the set of vertices with color c induces a connected subgraph of G. In the Convex Recoloring problem a colored graph \(G_\chi \) is given, and the goal is to find a convex coloring \(\chi '\) of G that recolors a minimum number of vertices. The 2-Convex Recoloring problem (2-CR) is the special case, where the given coloring \(\chi \) assigns the same color to at most two vertices. 2-CR is known to be NP-hard even if G is a path.
We show that weighted 2-CR problem cannot be approximated within any ratio, unless P \(=\) NP. On the other hand, we provide an alternative definition of (unweighted) 2-CR in terms of maximum independent set of paths, which leads to a natural greedy algorithm. We prove that its approximation ratio is \(\frac{3}{2}\) and show that this analysis is tight. This is the first constant factor approximation algorithm for a variant of CR in general graphs. For the special case, where G is a path, the algorithm obtains a ratio of \(\frac{5}{4}\), an improvement over the previous best known approximation. We also consider the problem of determining whether a given graph has a convex recoloring of size k. We use the above mentioned characterization of 2-CR to show that a problem kernel of size 4k can be obtained in linear time and to design a \(O(|E|) + 2^{O(k \log k)}\) time algorithm for parametrized 2-CR.
D. Rawitz—Supported in part by the Israel Science Foundation (grant no. 497/14).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
Note that this definition is a different than the one given in [6].
- 2.
Unique colors are used for simplicity. The new colors can be replaced by original colors, by iteratively recoloring a vertex with unique color using the color of an adjacent vertex which is colored by an original color.
References
Bachoore, E.H., Bodlaender, H.L.: Convex recoloring of leaf-colored trees. Technical report UU-CS–010, Department of Information and Computing Sciences, Utrecht University (2006)
Bar-Yehuda, R., Feldman, I., Rawitz, D.: Improved approximation algorithm for convex recoloring of trees. Theory Comput. Syst. 43(1), 3–18 (2008)
Bodlaender, H.L., Fellows, M.R., Langston, M.A., Ragan, M.A., Rosamond, F.A., Weyer, M.: Quadratic kernelization for convex recoloring of trees. Algorithmica 61(2), 362–388 (2011)
Campêlo, M.B., Huiban, C.G., Sampaio, R.M., Wakabayashi, Y.: On the complexity of solving or approximating convex recoloring problems. In: Du, D.-Z., Zhang, G. (eds.) COCOON 2013. LNCS, vol. 7936, pp. 614–625. Springer, Heidelberg (2013)
Kammer, F., Tholey, T.: The complexity of minimum convex coloring. Discrete Appl. Math. 160(6), 810–833 (2012)
Kanj, I.A., Kratsch, D.: Convex recoloring revisited: complexity and exact algorithms. In: Ngo, H.Q. (ed.) COCOON 2009. LNCS, vol. 5609, pp. 388–397. Springer, Heidelberg (2009)
Karp, R.M.: On the computational complexity of combinatorial problems. Networks 5, 45–68 (1975)
Lima, K.R., Wakabayashi, Y.: Convex recoloring of paths. Discrete Appl. Math. 164, 450–459 (2014)
Moran, S., Snir, S.: Efficient approximation of convex recolorings. J. Comput. Syst. Sci. 73(7), 1078–1089 (2007)
Moran, S., Snir, S.: Convex recolorings of strings and trees: Definitions, hardness results and algorithms. J. Comput. Syst. Sci. 74(5), 850–869 (2008)
Ponta, O., Hüffner, F., Niedermeier, R.: Speeding up dynamic programming for some NP-hard graph recoloring problems. In: Agrawal, M., Du, D.-Z., Duan, Z., Li, A. (eds.) TAMC 2008. LNCS, vol. 4978, pp. 490–501. Springer, Heidelberg (2008)
Razgon, I.: A \({2^{O(k)}}\text{ poly }(n)\) algorithm for the parameterized convex recoloring problem. Inf. Process. Lett. 104(2), 53–58 (2007)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Bar-Yehuda, R., Kutiel, G., Rawitz, D. (2016). 1.5-Approximation Algorithm for the 2-Convex Recoloring Problem. In: Lipták, Z., Smyth, W. (eds) Combinatorial Algorithms. IWOCA 2015. Lecture Notes in Computer Science(), vol 9538. Springer, Cham. https://doi.org/10.1007/978-3-319-29516-9_25
Download citation
DOI: https://doi.org/10.1007/978-3-319-29516-9_25
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-29515-2
Online ISBN: 978-3-319-29516-9
eBook Packages: Computer ScienceComputer Science (R0)