diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-16 19:25:58 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-16 19:25:58 +0100 |
| commit | 2f924f942bd6e7126e8f1d8692e475c95bd9fe82 (patch) | |
| tree | dd5877c2fd836f43523263e48632946423401093 /src/commands.c | |
| parent | 4e2b4e603c7e84c7556f489d7d8dab06915b3a9b (diff) | |
| download | nissy-2f924f942bd6e7126e8f1d8692e475c95bd9fe82.tar.gz nissy-2f924f942bd6e7126e8f1d8692e475c95bd9fe82.zip | |
Added a new pruning table (equivalent to nxopt31). I have not tested it yet, it takes a while to generate.
Plus I have done a whole lot of refactoring in random places because I cannot focus on
one thing at the time.
Diffstat (limited to 'src/commands.c')
| -rw-r--r-- | src/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.c b/src/commands.c index b90a7f5..9a2ad51 100644 --- a/src/commands.c +++ b/src/commands.c | |||
| @@ -259,6 +259,7 @@ solve_exec(CommandArgs *args) | |||
| 259 | Cube c; | 259 | Cube c; |
| 260 | AlgList *sols; | 260 | AlgList *sols; |
| 261 | 261 | ||
| 262 | init_movesets(); | ||
| 262 | init_symcoord(); | 263 | init_symcoord(); |
| 263 | 264 | ||
| 264 | c = apply_alg(args->scramble, (Cube){0}); | 265 | c = apply_alg(args->scramble, (Cube){0}); |
| @@ -274,6 +275,7 @@ gen_exec(CommandArgs *args) | |||
| 274 | int i; | 275 | int i; |
| 275 | 276 | ||
| 276 | fprintf(stderr, "Generating coordinates...\n"); | 277 | fprintf(stderr, "Generating coordinates...\n"); |
| 278 | init_movesets(); | ||
| 277 | init_symcoord(); | 279 | init_symcoord(); |
| 278 | 280 | ||
| 279 | fprintf(stderr, "Generating pruning tables...\n"); | 281 | fprintf(stderr, "Generating pruning tables...\n"); |
