From c6ab40b1602443938e431b996b28fb3d888365bb Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 17 Dec 2025 09:15:48 +0100 Subject: Cleanup --- .gitignore | 5 +++-- README.md | 7 +++---- build.sh | 2 +- tools/400_solvetest_optimal/solvetest.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 20da609..9922f9b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,8 +11,7 @@ perf.data.old run run.exe debugrun -tables/* -tables-old/* +tables*/* test/*/runtest test/.DS_Store test/run @@ -48,3 +47,5 @@ python/*.pyd python/*.exp python/*.lib *.sketch +__pycache__ +*/__pycache__ diff --git a/README.md b/README.md index 7e206a1..308dad0 100644 --- a/README.md +++ b/README.md @@ -124,11 +124,10 @@ parameters. For example: ``` -$ :./build.sh tool gendata h48h2k2 +$ :./build.sh tool gendata h48h2 ``` -Will run a tool that generates the data table for the H48 solver with -parameters `h=2` and `k=2. +Will run a tool that generates the data table for the H48 solver with `h=2`. Each tool run is automatically timed, so these tools can be used as benchmark. The output as well as the time of the run are saved to a @@ -222,7 +221,7 @@ interface. You can build them and run them with the build tool, for example: ``` -./build.sh cpp cpp/examples/solve_h48h3k2.cpp +./build.sh cpp cpp/examples/solve.cpp ``` NOTE: If you prefer to use a C-style API, you'll have to write diff --git a/build.sh b/build.sh index 502dbcf..642f5ca 100755 --- a/build.sh +++ b/build.sh @@ -142,7 +142,7 @@ CPPFLAGS="-std=c++20 $(maybe_pthread)" # When it becomes widely available, we can support it by adding -sMEMORY64 # to the WASMCFLAGS, WASMCPPFLAGS and WASMLINKFLAGS variables below, and # -sMAXIMUM_MEMORY=10737418240 to WASMLINKFLAGS. This way we can enable -# solvers larger than h48h6k2 in the web version. +# solvers larger than h48h6 in the web version. # TODO: # The options below have to be adjusted when native WASM_SIMD is implemented. diff --git a/tools/400_solvetest_optimal/solvetest.c b/tools/400_solvetest_optimal/solvetest.c index 6c078a2..0a31553 100644 --- a/tools/400_solvetest_optimal/solvetest.c +++ b/tools/400_solvetest_optimal/solvetest.c @@ -1,4 +1,4 @@ -#define SOLVER "h48h7k2" +#define SOLVER "h48h7" #define NISSFLAG NISSY_NISSFLAG_NORMAL #define MINMOVES 0 #define MAXMOVES 20 -- cgit v1.3