English

Minimizing Corners in Colored Rectilinear Grids

Computational Geometry 2023-11-27 v1 Discrete Mathematics

Abstract

Given a rectilinear grid GG, in which cells are either assigned a single color, out of kk possible colors, or remain white, can we color white grid cells of GG to minimize the total number of corners of the resulting colored rectilinear polygons in GG? We show how this problem relates to hypergraph visualization, prove that it is NP-hard even for k=2k=2, and present an exact dynamic programming algorithm. Together with a set of simple kernelization rules, this leads to an FPT-algorithm in the number of colored cells of the input. We additionally provide an XP-algorithm in the solution size, and a polynomial O(OPT)\mathcal{O}(OPT)-approximation algorithm.

Keywords

Cite

@article{arxiv.2311.14134,
  title  = {Minimizing Corners in Colored Rectilinear Grids},
  author = {Thomas Depian and Alexander Dobler and Christoph Kern and Jules Wulms},
  journal= {arXiv preprint arXiv:2311.14134},
  year   = {2023}
}

Comments

Appears in the Proceedings of the 18th International Conference and Workshops on Algorithms and Computation (WALCOM 2024)

R2 v1 2026-06-28T13:29:44.596Z