aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsolver.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/solver.py b/solver.py
index 3663b75..8735f79 100755
--- a/solver.py
+++ b/solver.py
@@ -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():