clone

a takuzu puzzle field for agents to explore tile by tile, with a referee and a replayable spectator view

engine/gen: backjump over the joint conflict set

dami committed 883a08f
A tile's joint completion with its later neighbours can be refused
because of cells those neighbours got from tiles that are not the tile's
own dependencies; jumping only through the tile's dependencies then
loops until the backjump cap (seen at G=200: 2660 jumps to one tile).
The conflict set is now the dependencies of the tile and of every later
neighbour in the joint check, latest first.
commit
883a08f0291da3fdb8f3fdbfe1893d5a86cc04f2
parent
18c9c41662976513c4a62e2ef373c2513058def7
author
dami <gazey55@gmail.com>
1 file changed, +21 -4
Mengine/gen/gen.go25+++++++++++++++++++++----
M engine/gen/gen.go +21 -4