diff options
| -rwxr-xr-x | solver.py | 20 | 
1 files changed, 10 insertions, 10 deletions
@@ -14,11 +14,11 @@ Options:    --print        Display only the original (unresolved) grid  ''' -import copy +#import copy  import os  import pickle  import time -import zlib +#import zlib  import docopt  import yaml @@ -448,14 +448,14 @@ def repr_grid_with_parents(grid):      return '\n'.join(reversed(items)) -def print_score_over(node, target_score): -    node.grid.update_score() -    if node.grid.score >= target_score: -        print("="*80) -        print(node_repr_with_parents(node)) -        return -    for child in node.children: -        print_score_over(child, target_score) +#def print_score_over(node, target_score): +#    node.grid.update_score() +#    if node.grid.score >= target_score: +#        print("="*80) +#        print(node_repr_with_parents(node)) +#        return +#    for child in node.children: +#        print_score_over(child, target_score)  def main():  | 
