Greedy colorings of words
详细信息查看全文 | 推荐本文 |
摘要
In the Binary Paint Shop Problem proposed by Epping et聽al. (2004) one has to find a -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) and Amini et聽al. (2010) 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 if and only if contains none of the three words , , and as a subword. Furthermore, we relate this to the fact that every member of a family of hypergraphs associated with is evenly laminar.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700