Greedy colorings of words
In the Binary Paint Shop Problem proposed by Epping et al. (2004) [4] one has to find a 0/1-coloring of the letters of a word in which every letter from some alphabet appears twice, such that the two occurrences of each letter are colored differently and the total number of color changes is minimize...
Saved in:
| Published in | Discrete Applied Mathematics Vol. 160; no. 12; pp. 1872 - 1874 |
|---|---|
| Main Authors | , |
| Format | Journal Article |
| Language | English |
| Published |
Elsevier B.V
01.08.2012
Elsevier |
| Subjects | |
| Online Access | Get full text |
| ISSN | 0166-218X 1872-6771 |
| DOI | 10.1016/j.dam.2012.03.038 |
Cover
| Summary: | In the Binary Paint Shop Problem proposed by Epping et al. (2004) [4] one has to find a 0/1-coloring of the letters of a word in which every letter from some alphabet appears twice, such that the two occurrences of each letter are colored differently and the total number of color changes is minimized. Meunier and Sebő (2009) [5] and Amini et al. (2010) [1] gave sufficient conditions for the optimality of a natural greedy algorithm for this problem. Our result is a best possible generalization of their results. We prove that the greedy algorithm optimally colors every suitable subword of a given instance word w if and only if w contains none of the three words (a,b,a,c,c,b), (a,d,d,b,c,c,a,b), and (a,d,d,c,b,c,a,b) as a subword. Furthermore, we relate this to the fact that every member of a family of hypergraphs associated with w is evenly laminar. |
|---|---|
| Bibliography: | ObjectType-Article-2 SourceType-Scholarly Journals-1 ObjectType-Feature-1 content type line 23 |
| ISSN: | 0166-218X 1872-6771 |
| DOI: | 10.1016/j.dam.2012.03.038 |