diff options
Diffstat (limited to 'python/examples/solve.py')
| -rw-r--r-- | python/examples/solve.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/solve.py b/python/examples/solve.py index 75e7914..5660b6b 100644 --- a/python/examples/solve.py +++ b/python/examples/solve.py | |||
| @@ -12,14 +12,14 @@ sys.path.append(os.getcwd() + os.path.sep + "python") | |||
| 12 | import nissy | 12 | import nissy |
| 13 | 13 | ||
| 14 | # Choose the solver you prefer | 14 | # Choose the solver you prefer |
| 15 | solver = "h48h0k4" | 15 | solver = "h48h3" |
| 16 | 16 | ||
| 17 | # Load the pruning table from file, generate it if needed | 17 | # Load the pruning table from file, generate it if needed |
| 18 | datapath = "tables" + os.path.sep + solver | 18 | datapath = "tables" + os.path.sep + solver |
| 19 | if os.path.exists(datapath): | 19 | if os.path.exists(datapath): |
| 20 | data = bytearray(open(datapath, "rb").read()) | 20 | data = bytearray(open(datapath, "rb").read()) |
| 21 | else: | 21 | else: |
| 22 | data = nissy.gendata("h48h0k4") | 22 | data = nissy.gendata(solver) |
| 23 | print("Generated data will NOT be persisted") | 23 | print("Generated data will NOT be persisted") |
| 24 | 24 | ||
| 25 | # Get a scrambled cube | 25 | # Get a scrambled cube |
