diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-06 09:15:21 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-06 09:15:21 +0200 |
| commit | 68ec5f85e346863bffb64b186d7ef9046ba5b9a4 (patch) | |
| tree | 03644d2bc61eac929a4c89b3dee685f582297c16 /src/solvers/h48/gendata_h48.h | |
| parent | 561b7521370fc0f3c97b86aa71005baa9fea08ce (diff) | |
| download | nissy-core-68ec5f85e346863bffb64b186d7ef9046ba5b9a4.tar.gz nissy-core-68ec5f85e346863bffb64b186d7ef9046ba5b9a4.zip | |
Removed some useless output
Diffstat (limited to 'src/solvers/h48/gendata_h48.h')
| -rw-r--r-- | src/solvers/h48/gendata_h48.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index b5af03a..3979a39 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h | |||
| @@ -32,19 +32,15 @@ gendata_h48short(gendata_h48short_arg_t *arg) | |||
| 32 | { | 32 | { |
| 33 | uint8_t i, m; | 33 | uint8_t i, m; |
| 34 | int64_t coord; | 34 | int64_t coord; |
| 35 | uint64_t j, oldn; | 35 | uint64_t j; |
| 36 | kvpair_t kv; | 36 | kvpair_t kv; |
| 37 | cube_t cube, d; | 37 | cube_t cube, d; |
| 38 | 38 | ||
| 39 | cube = SOLVED_CUBE; | 39 | cube = SOLVED_CUBE; |
| 40 | coord = coord_h48(cube, arg->cocsepdata, 11); | 40 | coord = coord_h48(cube, arg->cocsepdata, 11); |
| 41 | h48map_insertmin(arg->map, coord, 0); | 41 | h48map_insertmin(arg->map, coord, 0); |
| 42 | oldn = 0; | ||
| 43 | LOG("Short h48: depth 0\nfound %" PRIu8 "\n", arg->map->n-oldn); | ||
| 44 | for (i = 0; i < arg->maxdepth; i++) { | 42 | for (i = 0; i < arg->maxdepth; i++) { |
| 45 | LOG("Short h48: depth %" PRIu8 "\n", i+1); | ||
| 46 | j = 0; | 43 | j = 0; |
| 47 | oldn = arg->map->n; | ||
| 48 | for (kv = h48map_nextkvpair(arg->map, &j); | 44 | for (kv = h48map_nextkvpair(arg->map, &j); |
| 49 | j != arg->map->capacity; | 45 | j != arg->map->capacity; |
| 50 | kv = h48map_nextkvpair(arg->map, &j) | 46 | kv = h48map_nextkvpair(arg->map, &j) |
| @@ -60,7 +56,6 @@ gendata_h48short(gendata_h48short_arg_t *arg) | |||
| 60 | ) | 56 | ) |
| 61 | } | 57 | } |
| 62 | } | 58 | } |
| 63 | LOG("found %" PRIu8 "\n", arg->map->n-oldn); | ||
| 64 | } | 59 | } |
| 65 | 60 | ||
| 66 | return arg->map->n; | 61 | return arg->map->n; |
| @@ -336,6 +331,7 @@ gendata_h48k2(gendata_h48_arg_t *arg) | |||
| 336 | .map = &shortcubes | 331 | .map = &shortcubes |
| 337 | }; | 332 | }; |
| 338 | gendata_h48short(&shortarg); | 333 | gendata_h48short(&shortarg); |
| 334 | LOG("Computed %" PRIu64 " positions\n", shortarg.map->n); | ||
| 339 | 335 | ||
| 340 | if (arg->base >= 20) | 336 | if (arg->base >= 20) |
| 341 | arg->base = base[arg->h]; | 337 | arg->base = base[arg->h]; |
