diff options
author | vg <vgm+dev@devys.org> | 2020-05-20 01:25:33 +0200 |
---|---|---|
committer | vg <vgm+dev@devys.org> | 2020-05-20 01:25:33 +0200 |
commit | 4e959caf03d749f5a5908e074b02cd9cf52606cc (patch) | |
tree | f762fa9f872536586d04f245e71a571ee2b6cce7 | |
parent | d24d78848bd0ed13c1f771dbd5ad5e85e573f09e (diff) | |
download | kana_quest_solver-4e959caf03d749f5a5908e074b02cd9cf52606cc.tar.gz kana_quest_solver-4e959caf03d749f5a5908e074b02cd9cf52606cc.tar.bz2 kana_quest_solver-4e959caf03d749f5a5908e074b02cd9cf52606cc.zip |
comment unused sections
-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(): |