introduce bitloops

This commit is contained in:
mike
2026-01-14 23:15:52 +01:00
parent 5849f543c5
commit 04e3844732
6 changed files with 254 additions and 207 deletions

View File

@@ -93,13 +93,13 @@ public class Main {
info(String.format(Locale.ROOT, "simplicity : %.2f", res.filled().stats().simplicity));
section("Mask");
System.out.print(indentLines(res.mask().gridToString(), " "));
System.out.print(indentLines(res.clues().gridToString(), " "));
section("Grid (raw)");
System.out.print(indentLines(res.filled().grid().gridToString(res.mask().mask()), " "));
System.out.print(indentLines(res.filled().grid().gridToString(res.clues().mask()), " "));
section("Grid (human)");
System.out.print(indentLines(res.filled().grid().renderHuman(res.mask().mask()), " "));
System.out.print(indentLines(res.filled().grid().renderHuman(res.clues().mask()), " "));
var exported = res.exportFormatFromFilled(1, new Rewards(50, 2, 1));