massive state space solver improvement: supercomp took ~10s, now ~40ms

achieved by imposing a 15 block limit on each board and changing the
internal representation from std::string to 4x uint64_t
This commit is contained in:
2026-03-02 05:26:18 +01:00
parent c7361fe47e
commit 592c4b6cc0
16 changed files with 1913 additions and 848 deletions

View File

@ -5,4 +5,12 @@ The graph layout is calculated iteratively using a mass-spring-system with addit
![](screenshot.png)
Build and run on NixOS: `nix run git+https://gitea.local.chriphost.de/christoph/cpp-masssprings`.
## Running
Requirements:
- Directory `fonts`
- Directory `shader`
- Preset file `default.puzzle` (optional)
Run `nix run git+https://gitea.local.chriphost.de/christoph/cpp-masssprings` from the working directory containing the listed requirements.