Abstract
Given an n× n grid of cells, a valid configuration for the Star-Battle problem is a subset of 2 n cells—those containing ‘stars’—such that each row and each column contains exactly two stars, and no two stars are orthogonally or diagonally adjacent. The standard Star-Battle game assumes a plane topology in which stars bordering opposite edges of the board are nonadjacent. We present an algorithm for counting the number of distinct valid configurations as a function of n, for plane, cylindrical, and toroidal board topologies. We have run our algorithm up to n= 15 , for which the number of valid configurations is equal to 106,280,659,533,411,296 for the plane topology, and somewhat less for the cylindrical and toroidal topologies.
| Original language | English |
|---|---|
| Article number | 8 |
| Journal | Mathematics in Computer Science |
| Volume | 17 |
| Issue number | 2 |
| DOIs | |
| State | Published - Apr 24 2023 |
Bibliographical note
Publisher Copyright:© 2023, The Author(s), under exclusive licence to Springer Nature Switzerland AG.
ASJC Scopus Subject Areas
- Computational Mathematics
- Computational Theory and Mathematics
- Applied Mathematics
Keywords
- Constraint satisfaction
- Counting solutions
- Games
Fingerprint
Dive into the research topics of 'Counting Star-Battle Configurations'. Together they form a unique fingerprint.Cite this
- APA
- Standard
- Harvard
- Vancouver
- Author
- BIBTEX
- RIS