Greedy colorings of words - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Discrete Applied Mathematics Année : 2012

Greedy colorings of words

Rautenbach Dieter
  • Fonction : Auteur
Zoltán Szigeti

Résumé

In the Binary Paint Shop Problem proposed by Epping et al. 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ő and Amini et al. 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.
Fichier non déposé

Dates et versions

hal-00711968 , version 1 (26-06-2012)

Identifiants

  • HAL Id : hal-00711968 , version 1

Citer

Rautenbach Dieter, Zoltán Szigeti. Greedy colorings of words. Discrete Applied Mathematics, 2012, 160, pp.1872-1874. ⟨hal-00711968⟩
49 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More