There's a delicate balance to find between the time when we look for deadly or impossible patterns and the number of guardians we allow:
- too early and there are too many cases, with too many guardians;
- too late and the pattern disappears or at least becomes degenerate and harder to find.
And it's seems the balance is different between the impossible and the deadly cases (deadly ones are more easily destroyed and require still earlier detection).
By combining early detection with ultra-persistency + splitting rules for the ORk-relations, I think I've solved part of this balance problem, but with this early detection there remains cases with too many patterns at the start (that are finally useless).
In the cbg-000 collection, DP4's are very frequent, but most often useless. Larger DPs are rare (extremely rare for > 6 cells).
Maybe harder puzzles would give better results.
I've tried your puzzle with Blue's 408 DPs on ≤ 12 cells activated, with at most 98 guardians, but it doesn't give anything. Three DP4s appear, but are useless.
- Code: Select all
DP4-2-1s-OR7-relation
in cells (marked #): (r9c9 r9c8 r6c9 r6c8)
with 7 guardians (in cells marked @) : n3r9c9 n4r9c9 n3r9c8 n4r9c8 n3r6c9 n3r6c8 n8r6c8
+----------------------+----------------------+----------------------+
! 48 5 7 ! 9 1 2 ! 348 348 6 !
! 9 18 2 ! 3 4 6 ! 18 7 5 !
! 6 14 3 ! 8 7 5 ! 2 14 9 !
+----------------------+----------------------+----------------------+
! 5 38 1 ! 6 2 7 ! 348 9 34 !
! 2 9 4 ! 1 3 8 ! 6 5 7 !
! 38 7 6 ! 4 5 9 ! 138 1238#@ 123#@ !
+----------------------+----------------------+----------------------+
! 7 34 8 ! 2 9 134 ! 5 6 134 !
! 34 2 9 ! 5 6 134 ! 7 134 8 !
! 1 6 5 ! 7 8 34 ! 9 234#@ 234#@ !
+----------------------+----------------------+----------------------+
DP4-2-1-OR8-relation
in cells (marked #): (r9c9 r9c6 r7c9 r7c6)
with 8 guardians (in cells marked @) : n3r9c9 n4r9c9 n3r9c6 n4r9c6 n3r7c9 n4r7c9 n3r7c6 n4r7c6
+-------------------+-------------------+-------------------+
! 48 5 7 ! 9 1 2 ! 348 348 6 !
! 9 18 2 ! 3 4 6 ! 18 7 5 !
! 6 14 3 ! 8 7 5 ! 2 14 9 !
+-------------------+-------------------+-------------------+
! 5 38 1 ! 6 2 7 ! 348 9 34 !
! 2 9 4 ! 1 3 8 ! 6 5 7 !
! 38 7 6 ! 4 5 9 ! 138 1238 123 !
+-------------------+-------------------+-------------------+
! 7 34 8 ! 2 9 134#@ ! 5 6 134#@ !
! 34 2 9 ! 5 6 134 ! 7 134 8 !
! 1 6 5 ! 7 8 34#@ ! 9 234 234#@ !
+-------------------+-------------------+-------------------+
DP4-2-1-OR8-relation
in cells (marked #): (r9c8 r9c6 r8c8 r8c6)
with 8 guardians (in cells marked @) : n3r9c8 n4r9c8 n3r9c6 n4r9c6 n3r8c8 n4r8c8 n3r8c6 n4r8c6
+-------------------+-------------------+-------------------+
! 48 5 7 ! 9 1 2 ! 348 348 6 !
! 9 18 2 ! 3 4 6 ! 18 7 5 !
! 6 14 3 ! 8 7 5 ! 2 14 9 !
+-------------------+-------------------+-------------------+
! 5 38 1 ! 6 2 7 ! 348 9 34 !
! 2 9 4 ! 1 3 8 ! 6 5 7 !
! 38 7 6 ! 4 5 9 ! 138 1238 123 !
+-------------------+-------------------+-------------------+
! 7 34 8 ! 2 9 134 ! 5 6 134 !
! 34 2 9 ! 5 6 134#@ ! 7 134#@ 8 !
! 1 6 5 ! 7 8 34#@ ! 9 234#@ 234 !
+-------------------+-------------------+-------------------+
As I have coded no MUG, I can't find yours.
.