Abstract
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 Dürr 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.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Alpers, A., Rodek, L., Poulsen, H.F., Knudsen, E., Herman, G.T.: Discrete Tomography for Generating Grain Maps of Polycrystals. In: Advances in Discrete Tomography and Its Applications, pp. 271–301. Birkhäuser, Basel (2007)
Chrobak, M., Dürr, C.: Reconstructing polyatomic structures from discrete X-rays: NP-completeness proof for three atoms. Theoretical Computer Science 259, 81–98 (2001)
Chrobak, M., Couperus, P., Dürr, C., Woeginger, G.: On tiling under tomographic constraints. Theoret. Comput. Sci. 290(3), 2125–2136 (2003)
Dürr, C., Goles, E., Rapaport, I., Rémila, E.: Tiling with bars under tomographic constraints. Theoret. Comput. Sci. 290(3), 1317–1329 (2003)
Gardner, R., Gritzmann, P., Prangenberg, D.: On the computational complexity of determining polyatomic structures by X-rays. Theoretical Computer Science 233, 91–106 (2000)
Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H.Freeman and Co., New York (1979)
Kuba, A., Herman, G.T.: Discrete tomography: A Historical Overview. In: Discrete tomography: Foundations, Algorithms and Applications. Birkhäuser, Basel (1999)
Ryser, H.J.: Matrices of zeros and ones. Bull. Am. Math. Soc. 66, 442–464 (1960)
Thiant, N.: Constructions et reconstructions de pavages de dominos. PhD thesis, Université Paris 6 (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Dürr, C., Guiñez, F., Matamala, M. (2009). Reconstructing 3-Colored Grids from Horizontal and Vertical Projections Is NP-hard. In: Fiat, A., Sanders, P. (eds) Algorithms - ESA 2009. ESA 2009. Lecture Notes in Computer Science, vol 5757. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-04128-0_69
Download citation
DOI: https://doi.org/10.1007/978-3-642-04128-0_69
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-04127-3
Online ISBN: 978-3-642-04128-0
eBook Packages: Computer ScienceComputer Science (R0)