PairFiller previously only filled the main grid with pair patterns, leaving narrow waste strips unfilled. Row/Column strategies filled their remnants, winning on count despite worse base grids. Now PairFiller evaluates grid+remnant together for each angle/direction combination, picking the best total. Uses a two-phase approach: fast grid evaluation first, then remnant filling only for grids within striking distance of the current best. Remnant results are cached via FillResultCache. Constructor now takes Plate (needed to create remnant engine). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2.0 KiB
2.0 KiB