Parent Directory | Revision Log | Patch
revision 1 by torben, Thu Jul 19 21:34:15 2007 UTC | revision 2 by torben, Thu Jul 19 22:26:42 2007 UTC | |
---|---|---|
# | Line 57 bool Queens::solve(int row, bool findAll | Line 57 bool Queens::solve(int row, bool findAll |
57 | if (!findAll) | if (!findAll) |
58 | return true; | return true; |
59 | else { | else { |
60 | solutions->addSolution( solution ); | solutions->addSolution( solution.copy() ); |
61 | parent->foundSolution(); | parent->foundSolution(); |
62 | } | } |
63 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |