aboutsummaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--python/examples/solve.py4
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")
12import nissy 12import nissy
13 13
14# Choose the solver you prefer 14# Choose the solver you prefer
15solver = "h48h0k4" 15solver = "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
18datapath = "tables" + os.path.sep + solver 18datapath = "tables" + os.path.sep + solver
19if os.path.exists(datapath): 19if os.path.exists(datapath):
20 data = bytearray(open(datapath, "rb").read()) 20 data = bytearray(open(datapath, "rb").read())
21else: 21else:
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

Generated with cgit - Back to sebastiano.tronto.net