diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-14 15:12:36 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-14 16:09:31 +0100 |
| commit | bcd52547af58b15868e24f3904e307548d1fd505 (patch) | |
| tree | cda0a871f65575bb15fb4536c7b103c13caf433e /python | |
| parent | 21fdf9697ddfab0a9c082a91ae0a79b1b574774c (diff) | |
| download | nissy-core-bcd52547af58b15868e24f3904e307548d1fd505.tar.gz nissy-core-bcd52547af58b15868e24f3904e307548d1fd505.zip | |
Cleanup, update documentation, fix examples
Diffstat (limited to 'python')
| -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 |
