<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" version="2.0">
<channel>
	<title>Comments for A Blog.</title>
	
	<link>http://w01fe.com</link>
	<description />
	<lastBuildDate>Wed, 23 Nov 2011 07:08:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/w01fe_comments" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="w01fe_comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on The hardest eight-puzzle instances take 31 moves to solve by Era Ahmadian</title>
		<link>http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/comment-page-1/#comment-2348</link>
		<dc:creator>Era Ahmadian</dc:creator>
		<pubDate>Wed, 23 Nov 2011 07:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/#comment-2348</guid>
		<description>Hi Solnit 
we are working on an Optimezd Program  which is solved 8 puzzle problem with A* algorithm  and with OOP methods in C# .
Our Program Can solve the 31-depth instance easily!
but i have a question of you?!
why u said The hardest eight-puzzle instances take 31 moves to solve?how can u prove it?!
we have of instances that they  needs more moves for solving!!!
and the second question is the reflection instances are the same state with every goals position or just the standard one?
truly yours,Era</description>
		<content:encoded><![CDATA[<p>Hi Solnit<br />
we are working on an Optimezd Program  which is solved 8 puzzle problem with A* algorithm  and with OOP methods in C# .<br />
Our Program Can solve the 31-depth instance easily!<br />
but i have a question of you?!<br />
why u said The hardest eight-puzzle instances take 31 moves to solve?how can u prove it?!<br />
we have of instances that they  needs more moves for solving!!!<br />
and the second question is the reflection instances are the same state with every goals position or just the standard one?<br />
truly yours,Era</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/EvzstVqUd_0" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The hardest eight-puzzle instances take 31 moves to solve by solnit</title>
		<link>http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/comment-page-1/#comment-2123</link>
		<dc:creator>solnit</dc:creator>
		<pubDate>Tue, 16 Aug 2011 12:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/#comment-2123</guid>
		<description>These two states are the same state really. Let's take first position.
&lt;pre&gt;
 8 6 7
 2 5 4
 3 . 1
&lt;/pre&gt;
You can reflect this position about main diagonal.
&lt;pre&gt;
 8 2 3
 6 5 .
 7 4 1
&lt;/pre&gt;
Then you can rename pieces. More precisely, you can swap pieces 2-4, 3-7 and 6-8. It is because in goal state these pieces are symmetric.
&lt;pre&gt;
 6 4 7
 8 5 .
 3 2 1
&lt;/pre&gt;
Note that this is second hardest position.
Now try to do the same two steps for, say, the following position:
&lt;pre&gt;
Position A
 1 2 3
 . 5 6
 4 7 8
&lt;/pre&gt;
After reflection:
&lt;pre&gt;
 1 . 4
 2 5 7
 3 6 8
&lt;/pre&gt;
After renaming pieces 2-4, 3-7 and 6-8:
&lt;pre&gt;
Position B
 1 . 2
 4 5 3
 7 8 6
&lt;/pre&gt;
Position A can be solved in three moves: U L L (U means "move piece up").
Position B also can be solved in three moves: L U U.
Moreover, solution to the position B can be obtained by replacing moves U,L,D,R with moves L,U,R,D respectively.
The following position is self-symmetric:
&lt;pre&gt;
 . 8 7
 6 5 4
 3 2 1
&lt;/pre&gt;
If you reflect this position and then rename tiles you will return to the same position.</description>
		<content:encoded><![CDATA[<p>These two states are the same state really. Let&#8217;s take first position.</p>
<pre>
 8 6 7
 2 5 4
 3 . 1
</pre>
<p>You can reflect this position about main diagonal.</p>
<pre>
 8 2 3
 6 5 .
 7 4 1
</pre>
<p>Then you can rename pieces. More precisely, you can swap pieces 2-4, 3-7 and 6-8. It is because in goal state these pieces are symmetric.</p>
<pre>
 6 4 7
 8 5 .
 3 2 1
</pre>
<p>Note that this is second hardest position.<br />
Now try to do the same two steps for, say, the following position:</p>
<pre>
Position A
 1 2 3
 . 5 6
 4 7 8
</pre>
<p>After reflection:</p>
<pre>
 1 . 4
 2 5 7
 3 6 8
</pre>
<p>After renaming pieces 2-4, 3-7 and 6-8:</p>
<pre>
Position B
 1 . 2
 4 5 3
 7 8 6
</pre>
<p>Position A can be solved in three moves: U L L (U means &#8220;move piece up&#8221;).<br />
Position B also can be solved in three moves: L U U.<br />
Moreover, solution to the position B can be obtained by replacing moves U,L,D,R with moves L,U,R,D respectively.<br />
The following position is self-symmetric:</p>
<pre>
 . 8 7
 6 5 4
 3 2 1
</pre>
<p>If you reflect this position and then rename tiles you will return to the same position.</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/AqezrIb8j68" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on C++ callbacks into Java via JNI made easy(ier) by Timothy Wall</title>
		<link>http://w01fe.com/blog/2009/05/c-callbacks-into-java-via-jni-made-easyier/comment-page-1/#comment-2115</link>
		<dc:creator>Timothy Wall</dc:creator>
		<pubDate>Sun, 07 Aug 2011 00:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/05/c-callbacks-into-java-via-jni-made-easyier/#comment-2115</guid>
		<description>You should only detach if not already attached (pseudo-code follows):

attached = (*jvm)-&gt;GetEnv(...)
if (!attached) (*jvm)-&gt;AttachCrrentThread(...)

// do java callback

if (!attached) (*jvm)-&gt;DetachCurrentThread(jvm)</description>
		<content:encoded><![CDATA[<p>You should only detach if not already attached (pseudo-code follows):</p>
<p>attached = (*jvm)-&gt;GetEnv(&#8230;)<br />
if (!attached) (*jvm)-&gt;AttachCrrentThread(&#8230;)</p>
<p>// do java callback</p>
<p>if (!attached) (*jvm)-&gt;DetachCurrentThread(jvm)</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/ddP48bunyxI" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The hardest eight-puzzle instances take 31 moves to solve by Jason Wolfe</title>
		<link>http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/comment-page-1/#comment-1882</link>
		<dc:creator>Jason Wolfe</dc:creator>
		<pubDate>Mon, 04 Apr 2011 18:52:49 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/#comment-1882</guid>
		<description>There are only (9 !) / 2 = 181,440 reachable states in the 8-puzzle, so you should be able to solve any instance pretty quickly (on the order of seconds or less) even using brute force, with a decently fast implementation.  Repeated-state checking (i.e., a closed list) and proper data structures are essential, of course.</description>
		<content:encoded><![CDATA[<p>There are only (9 !) / 2 = 181,440 reachable states in the 8-puzzle, so you should be able to solve any instance pretty quickly (on the order of seconds or less) even using brute force, with a decently fast implementation.  Repeated-state checking (i.e., a closed list) and proper data structures are essential, of course.</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/Mv6mseiC4-c" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The hardest eight-puzzle instances take 31 moves to solve by mimighost</title>
		<link>http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/comment-page-1/#comment-1878</link>
		<dc:creator>mimighost</dc:creator>
		<pubDate>Mon, 04 Apr 2011 11:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/#comment-1878</guid>
		<description>I got your blog from google.
This is indeed a very difficult puzzle, i wrote a python program and using the A* to solve it, and it takes a really long time.
So, my question is how long does it take for your program to find the answer? Is there any special optimization? I rsearch the web but can't find many useful information.</description>
		<content:encoded><![CDATA[<p>I got your blog from google.<br />
This is indeed a very difficult puzzle, i wrote a python program and using the A* to solve it, and it takes a really long time.<br />
So, my question is how long does it take for your program to find the answer? Is there any special optimization? I rsearch the web but can&#8217;t find many useful information.</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/hgY5Agdxst8" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on C++ callbacks into Java via JNI made easy(ier) by Oty</title>
		<link>http://w01fe.com/blog/2009/05/c-callbacks-into-java-via-jni-made-easyier/comment-page-1/#comment-1287</link>
		<dc:creator>Oty</dc:creator>
		<pubDate>Wed, 09 Dec 2009 12:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/05/c-callbacks-into-java-via-jni-made-easyier/#comment-1287</guid>
		<description>Hi,

I had the same library. But after N call to java from C++ thread.
application crashed!

have you a idea.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I had the same library. But after N call to java from C++ thread.<br />
application crashed!</p>
<p>have you a idea.</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/hB8QXcvsAxs" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic type hints in Clojure macros by Konrad Grzanek</title>
		<link>http://w01fe.com/blog/2009/07/dynamic-type-hints-in-clojure-macros/comment-page-1/#comment-1285</link>
		<dc:creator>Konrad Grzanek</dc:creator>
		<pubDate>Wed, 09 Dec 2009 08:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/07/dynamic-type-hints-in-clojure-macros/#comment-1285</guid>
		<description>Great advice. That's exactly what I was searching for. Thanks !!!</description>
		<content:encoded><![CDATA[<p>Great advice. That&#8217;s exactly what I was searching for. Thanks !!!</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/zzGoepQwsww" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Quick tip for debugging &amp; profiling Clojure code with multimethods by Brandon Gray</title>
		<link>http://w01fe.com/blog/2009/04/quick-tip-for-debugging-profiling-clojure-code-with-multimethods/comment-page-1/#comment-208</link>
		<dc:creator>Brandon Gray</dc:creator>
		<pubDate>Fri, 22 May 2009 02:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/04/quick-tip-for-debugging-profiling-clojure-code-with-multimethods/#comment-208</guid>
		<description>This is a great tip for dealing with Clojure's multimethods.  One thing that I've found tough about Clojure are the sometimes cryptic compiler messages.  Thanks for the info!</description>
		<content:encoded><![CDATA[<p>This is a great tip for dealing with Clojure&#8217;s multimethods.  One thing that I&#8217;ve found tough about Clojure are the sometimes cryptic compiler messages.  Thanks for the info!</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/zSJRNKa5Mpk" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The hardest eight-puzzle instances take 31 moves to solve by Jason Wolfe</title>
		<link>http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/comment-page-1/#comment-199</link>
		<dc:creator>Jason Wolfe</dc:creator>
		<pubDate>Mon, 18 May 2009 06:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/#comment-199</guid>
		<description>Good point.  The post was referring to the standard version where the final state is:

1 2 3 
4 5 6 
7 8 .</description>
		<content:encoded><![CDATA[<p>Good point.  The post was referring to the standard version where the final state is:</p>
<p>1 2 3<br />
4 5 6<br />
7 8 .</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/9IIQj856-hY" height="1" width="1"/>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The hardest eight-puzzle instances take 31 moves to solve by Mati</title>
		<link>http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/comment-page-1/#comment-197</link>
		<dc:creator>Mati</dc:creator>
		<pubDate>Sat, 16 May 2009 23:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://w01fe.com/blog/2009/01/the-hardest-eight-puzzle-instances-take-31-moves-to-solve/#comment-197</guid>
		<description>But which is the final state for those puzzles? 
Cause there are two disconnected parts in the search space for this problem.
Thx!</description>
		<content:encoded><![CDATA[<p>But which is the final state for those puzzles?<br />
Cause there are two disconnected parts in the search space for this problem.<br />
Thx!</p>
<img src="http://feeds.feedburner.com/~r/w01fe_comments/~4/G8UrHi74494" height="1" width="1"/>]]></content:encoded>
	</item>
</channel>
</rss>

