1.5-approximation algorithm for the 2-Convex Recoloring problem

被引:2
作者
Bar-Yehuda, Reuven [1 ]
Kutiel, Gilad [1 ]
Rawitz, Dror [2 ]
机构
[1] Technion, Dept Comp Sci, IL-32000 Haifa, Israel
[2] Bar Ilan Univ, Fac Engn, IL-52900 Ramat Gan, Israel
基金
以色列科学基金会;
关键词
Approximation algorithms; Convex recoloring; Greedy; CONVEX RECOLORINGS; TREES; APPROXIMATION;
D O I
10.1016/j.dam.2017.01.008
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Given a graph G = (V, E), a coloring function chi : V -> C, assigning each vertex a color, is called convex if, for every color c is an element of 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. In the weighted version each vertex has a weight, and the goal is to minimize the total weight of recolored 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 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 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 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 an O(vertical bar E vertical bar) + 2(O(klogk)) time algorithm for parameterized 2-CR. (C) 2017 Elsevier B.V. All rights reserved.
引用
收藏
页码:2 / 11
页数:10
相关论文
共 12 条
[1]  
Bachoore E. H., 2006, UUCS2006010
[2]   Improved approximation algorithm for convex recoloring of trees [J].
Bar-Yehuda, Reuven ;
Feldman, Ido ;
Rawitz, Dror .
THEORY OF COMPUTING SYSTEMS, 2008, 43 (01) :3-18
[3]   Quadratic Kernelization for Convex Recoloring of Trees [J].
Bodlaender, Hans L. ;
Fellows, Michael R. ;
Langston, Michael A. ;
Ragan, Mark A. ;
Rosamond, Frances A. ;
Weyer, Mark .
ALGORITHMICA, 2011, 61 (02) :362-388
[4]  
Campelo M.B., 2013, LECT NOTES COMPUTER, P614
[5]   The complexity of minimum convex coloring [J].
Kammer, Frank ;
Tholey, Torsten .
DISCRETE APPLIED MATHEMATICS, 2012, 160 (06) :810-833
[6]  
Kanj IA, 2009, LECT NOTES COMPUT SC, V5609, P388, DOI 10.1007/978-3-642-02882-3_39
[7]  
Karp R. M., 1975, Networks, V5, P45
[8]   Convex recoloring of paths [J].
Lima, Karla Roberta ;
Wakabayashi, Yoshiko .
DISCRETE APPLIED MATHEMATICS, 2014, 164 :450-459
[9]   Convex recolorings of strings and trees: Definitions, hardness results and algorithms [J].
Moran, Shlomo ;
Snir, Sagi .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2008, 74 (05) :850-869
[10]   Efficient approximation of convex recolorings [J].
Moran, Shlomo ;
Snir, Sagi .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2007, 73 (07) :1078-1089