mgrettondann d7b1290379 Optimize selection of next position.
Grid::next_pos was starting its scan from the position after the current
 one.

This is inefficient as we know how large the square we've just placed is
 as we scan those positions.

This optimisation just skips that square when starting the scan.
2025-09-01 11:00:56 +02:00
2025-08-31 17:40:43 +01:00
2025-09-01 11:00:56 +02:00
S
Description
C++ Solutions to the Partridge problem
Apache-2.0
362 KiB
Languages
C++ 69.2%
Python 29.2%
CMake 1.6%