<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	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/"
		>
<channel>
	<title>Comments on: Labyrinth Solver</title>
	<atom:link href="http://blog.labix.org/2005/10/07/labyrinth-solver/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.labix.org/2005/10/07/labyrinth-solver</link>
	<description>by Gustavo Niemeyer</description>
	<lastBuildDate>Mon, 16 Jan 2012 12:12:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Spence</title>
		<link>http://blog.labix.org/2005/10/07/labyrinth-solver/comment-page-1#comment-78079</link>
		<dc:creator>Spence</dc:creator>
		<pubDate>Thu, 29 Apr 2010 13:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2005/10/07/labyrinth-solver/#comment-78079</guid>
		<description>How could this program print an output of the maze for every position the program moves?</description>
		<content:encoded><![CDATA[<p>How could this program print an output of the maze for every position the program moves?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinu</title>
		<link>http://blog.labix.org/2005/10/07/labyrinth-solver/comment-page-1#comment-10</link>
		<dc:creator>Dinu</dc:creator>
		<pubDate>Wed, 12 Oct 2005 12:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2005/10/07/labyrinth-solver/#comment-10</guid>
		<description>Even shorter, but also more cryptic ;-)

&lt;pre&gt;
from operator import or_
    if reduce(or_, [solve(maze, posx+i, posy+j, sizex, sizey)
                    for i,j in zip((1,-1,0,0), (0,0,1,-1))]):
&lt;/pre&gt;

instead of:

&lt;pre&gt;
    if (solve(maze, posx+1, posy, sizex, sizey) or
        solve(maze, posx-1, posy, sizex, sizey) or
        solve(maze, posx, posy+1, sizex, sizey) or
        solve(maze, posx, posy-1, sizex, sizey)):
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Even shorter, but also more cryptic <img src='http://blog.labix.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<pre>
from operator import or_
    if reduce(or_, [solve(maze, posx+i, posy+j, sizex, sizey)
                    for i,j in zip((1,-1,0,0), (0,0,1,-1))]):
</pre>
<p>instead of:</p>
<pre>
    if (solve(maze, posx+1, posy, sizex, sizey) or
        solve(maze, posx-1, posy, sizex, sizey) or
        solve(maze, posx, posy+1, sizex, sizey) or
        solve(maze, posx, posy-1, sizex, sizey)):
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gustavo Niemeyer</title>
		<link>http://blog.labix.org/2005/10/07/labyrinth-solver/comment-page-1#comment-9</link>
		<dc:creator>Gustavo Niemeyer</dc:creator>
		<pubDate>Fri, 07 Oct 2005 13:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2005/10/07/labyrinth-solver/#comment-9</guid>
		<description>A cure to labyrinthitis in 16 lines of Python would be *really* nice. Hehehe :-)</description>
		<content:encoded><![CDATA[<p>A cure to labyrinthitis in 16 lines of Python would be *really* nice. Hehehe <img src='http://blog.labix.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo Habkost</title>
		<link>http://blog.labix.org/2005/10/07/labyrinth-solver/comment-page-1#comment-8</link>
		<dc:creator>Eduardo Habkost</dc:creator>
		<pubDate>Fri, 07 Oct 2005 13:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2005/10/07/labyrinth-solver/#comment-8</guid>
		<description>When I first read the text, I thought &quot;What? A solution to &lt;a href=&quot;http://en.wikipedia.org/wiki/Labyrinthitis&quot;&gt;Labyrinthitis&lt;/a&gt;?&quot;</description>
		<content:encoded><![CDATA[<p>When I first read the text, I thought &#8220;What? A solution to <a href="http://en.wikipedia.org/wiki/Labyrinthitis">Labyrinthitis</a>?&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

