arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0904.3169cs.DScs.CC
收藏

从水平和垂直投影重建3色网格是NP困难的

Reconstructing 3-colored grids from horizontal and vertical projections is NP-hard

Christoph Durr, Flavio Guinez, Martin Matamala

摘要:

我们考虑用k种颜色给网格着色的问题,但每一行和每一列中每种颜色都有特定数量的单元格。在一个已经经典的结果中,Ryser得到了当考虑两种颜色时存在这种着色的一个充分必要条件。这个特性产生了一个线性时间算法,用于构建这样的着色时,它存在。Gardner等人证明,当k>=7时,问题是NP难的。后来,Chrobak和Durr改进了这个结果,证明了当k>=4时,它仍然是NP难的。我们解决的差距表明,3种颜色的问题已经是NP难的。此外,我们也给出了一些关于平铺层析成像问题的结果。

英文摘要:

We consider the problem of coloring a grid using k colors with the restriction that in each row and each column has an specific number of cells of each color. In an already classical result, Ryser obtained a necessary and sufficient condition for the existence of such a coloring when two colors are considered. This characterization yields a linear time algorithm for constructing such a coloring when it exists. Gardner et al. showed that for k>=7 the problem is NP-hard. Afterward Chrobak and Durr improved this result, by proving that it remains NP-hard for k>=4. We solve the gap by showing that for 3 colors the problem is already NP-hard. Besides we also give some results on tiling tomography problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑