Talk:Knight's tour: Difference between revisions

(→‎The 7x7 problem: changed indent)
(→‎The 7x7 problem: more indent)
Line 66:
:: I started to measure success/failure on a 7x7 using different tie breakers. Starting with a triangle of squares that provide a minimum under rotation & reflection it really looks like starting position is the predominant factor. I haven't yet tried all cases just in case rotation/reflection does affect the results.
 
:: Looking at two cases where the start was a1 and a3, the a1 failed and a3 start did not. Both case went through a1 but the one starting in a3 went through a1 on move 37. Looking at the ties, there was no obvious choice that would have produced a tour. The start in a1 would have had to violate the accessibility filter to succeed. That is a1, b3, c1, a2, b4, ... fails vs. a1, b3, c1, a2, c3, ... succeeds. In the later case c3 was chosen not from the ties but from the group with the highest accessibility. I'll have to dig into this a bit more later. What I did add was a log like this showing the move, minimal accessibility, and moves in that group. This is for the failing a1:
<pre>::: Debug log : move#, move : (accessibility) choices
::: 1. a1 : (5) b3 c2
::: 2. b3 : (3) c1 a5
::: 3. c1 : (2) a2
::: 4. a2 : (5) b4
::: 5. b4 : (2) a6
6. a6 : (3) c7
7. c7 : (5) b5 e6</pre>
 
 
:: I'd be interested in seeing how others fare with a 7x7 starting in a1. --[[User:Dgamey|Dgamey]] 10:28, 2 June 2011 (UTC)
 
== C++ formatting ==
Anonymous user