[Python-il] Code Review: Kakurasu Solver
Shlomi Fish
shlomif at gmail.com
Wed Nov 10 00:00:26 IST 2010
Hi Ram,
On Tue, Nov 9, 2010 at 12:52 AM, cool-RR <cool-rr at cool-rr.com> wrote:
> Just one more doc-style comment:
>
> def solve(self):
> '''
> This method attempts to solve the game after self.width ,
> self.height ,
> self.num_known_horiz_constraints , self.num_known_vert_constraints ,
> self.horiz_constraints and self.vert_constraints were filled in.
>
> It returns a two-dimensional array containing the rows of the
> boolean
> values with the solution.
> '''
>
> Here's how this comment should look:
>
> def solve(self):
> '''
>
> Attempt to solve the game.
>
>
>
> This should be called after self.width, self.height,
> self.num_known_horiz_constraints, self.num_known_vert_constraints,
> self.horiz_constraints and self.vert_constraints were filled in.
>
> Returns a two-dimensional array containing the rows of the boolean
> values with the solution.
> '''
>
> That's the end of my review-- Since I don't have time to actually understand
> the algorithm.
Thanks! Corrected despite the fact that the plain text version was
mangled. Did you fail to understand my algorithm despite the fact I
explained it in a previous message?
Regards,
-- Shlomi Fish
>
>
>
> Ram,
>
> _______________________________________________
> Python-il mailing list
> Python-il at hamakor.org.il
> http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il
>
>
--
------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Electrical Engineering studies. In the Technion. Been there. Done
that. Forgot a lot. Remember too much.
More information about the Python-il
mailing list