denis_berthier wrote:But there's a complexity problem. Finding a real TO with 1 or 2 additional candidates is not very difficult. But having to consider all the contextual TOs at every step of every whip/braid is largely more computationally complex than having to consider all the potential Subsets.
Personally my main interest would be the effect of TOs on the puzzles' ratings (where they fit on the (TO, Bp)B scale, that being a placeholder rating for braids with TOs and braids[p] as rlcs).
I am curious if there is a puzzle in the database that remains outside T&E(2) with TOs used.
For any (TO, Bp)B rating, to determine whether a puzzle is in (TO, Bp)B:
1) Reach the state after all available (TO, Bp)B eliminations have been made (at the start no TOs have been identified, ie. all BpB eliminations).
1.1) If the puzzle is solved, it is.
2) Identify TOs from the dead ends of partial (TO-)braids for each candidate (or stop once you find a new one).
2.1) If none (new) has been found, it is not (you can keep the TOs and look for a solution in (TO, Bp+1)B).
3) Repeat from 1) with the identified TOs.
For this problem there are many optimizations one can make.
When using T&E to simulate steps 1 and 2, they can be done at once, eliminating the candidates if they produce a contradiction in step 2 after the TO deductions.
For puzzles solvable by TO-braids:
While you could try to find the path using the smallest patterns, a single class would be much more efficient.
For puzzles not in BpB for any given BpB rating:
If a candidate C can be eliminated using the TO contradiction pattern, this pattern must be present at the dead end of the T&E procedure starting with the placement of C (and the mutual dead end of partial braids with C as their target).
When identifying useful TOs, one can simply look at the dead end for each candidate (and ignore llcs of the partial braids of the candidates which have already been checked; in an attempt to eliminate these candidates only check for the TOs already found).
(If the 11-cell patterns are also used, we have to look at the dead ends of the TO-braids with the identified TOs.)
(Any candidate which can be eliminated using the TO[12] pattern without the TO[11] patterns can also be eliminated using the TO[11] patterns without the TO[12] pattern, but not vice versa.)
This should limit the number of possible TOs to just a few, each of which occurs for some candidates (due to the process they were found).
Looking for the TOs might still take a relatively long time if there is none or you want to find all of them (say to find every possible TO-braid/the shortest one, which is one of the differences between human solvers and computer programs – no human solver would ever be required to do that).
A different way would be needed to find TOs for candidates which can be eliminated without them (not a problem when trying to determine a (TO, Bp)B rating).
denis_berthier wrote:As I said before, all this is meaningful only in the presence of an oracle saying that there is some possibility of a pseudo-TO. Otherwise, the return on investment for this kind of TO-chain is null.
Take any puzzle in ph2010 and tell me what you get by trying this.
I might try it, the pattern is very constraining.
Marek