Chess Domination Problems on Polyominoes
Authors
- Alexis Langlois-Rémillard (alexislangloisremillard@gmail.com) https://alexisl-r.github.io/
- Christoph Müßig (info@cmuessig.de)
- Erika Roldan (erika.roldan@ma.tum.de) https://www.erikaroldan.net/
Overview
A short presentation of all implemented functions is available by calling Polyomino.demo()
.
Polyomino generation
-
Poly(size::Int64)
: Eden model, O(n) -
Poly(size::Int64, p::Float64)
: Shuffling model for uniformly random polyominoes, O(n^3)
Chess problems
-
maxRooks(p::Poly)
: Solves the maximal non-attacking rook set problem, O(n^4) -
maxQueens(p::Poly)
: Solves the maximal non-attacking queen set problem, NP-complete -
minRooks(p::Poly)
: Solves the minimal guarding rook set problem, NP-complete -
minQueens(p::Poly)
: Solves the minimal guarding queen set problem, NP-complete
Polyomino analysis
minimalLineCover(p::Poly)
: Calculate minimal line cover, O(n^4)
Acknowledgements
Erika Roldan received funding from the European Union’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie grant agreement No. 754462.
License
This project is licensed under the MIT License - see LICENSE file for details. If you use this code for academic purposes, please cite the paper:
Alexis Langlois-Rémillard, Christoph Müßig, and Érika Róldan, Complexity of Chess Domination Problems, https://arxiv.org/abs/2211.05651 [math.CO], 2022.