commit 68ec5f85e346863bffb64b186d7ef9046ba5b9a4
parent 561b7521370fc0f3c97b86aa71005baa9fea08ce
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Sun, 6 Oct 2024 09:15:21 +0200
Removed some useless output
Diffstat:
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/solvers/h48/gendata_cocsep.h b/src/solvers/h48/gendata_cocsep.h
@@ -23,7 +23,7 @@ gendata_cocsep(void *buf, uint64_t *selfsim, cube_t *rep)
{
uint32_t *buf32, cc;
uint16_t n;
- uint8_t i, j, visited[COCSEP_VISITEDSIZE];
+ uint8_t i, visited[COCSEP_VISITEDSIZE];
tableinfo_t info;
cocsep_dfs_arg_t arg;
@@ -71,10 +71,14 @@ gendata_cocsep(void *buf, uint64_t *selfsim, cube_t *rep)
"expected %zu\n", n, COCSEP_CLASSES);
LOG("cocsep data computed\n");
+
+ /* The following output is just noise
+
LOG("Symmetry classes: %" PRIu32 "\n", COCSEP_CLASSES);
LOG("Pruning value distribution:\n");
for (j = 0; j < 10; j++)
LOG("%" PRIu8 ":\t%" PRIu32 "\n", j, info.distribution[j]);
+ */
gendata_cocsep_return_size:
return COCSEP_FULLSIZE;
diff --git 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)
{
uint8_t i, m;
int64_t coord;
- uint64_t j, oldn;
+ uint64_t j;
kvpair_t kv;
cube_t cube, d;
cube = SOLVED_CUBE;
coord = coord_h48(cube, arg->cocsepdata, 11);
h48map_insertmin(arg->map, coord, 0);
- oldn = 0;
- LOG("Short h48: depth 0\nfound %" PRIu8 "\n", arg->map->n-oldn);
for (i = 0; i < arg->maxdepth; i++) {
- LOG("Short h48: depth %" PRIu8 "\n", i+1);
j = 0;
- oldn = arg->map->n;
for (kv = h48map_nextkvpair(arg->map, &j);
j != arg->map->capacity;
kv = h48map_nextkvpair(arg->map, &j)
@@ -60,7 +56,6 @@ gendata_h48short(gendata_h48short_arg_t *arg)
)
}
}
- LOG("found %" PRIu8 "\n", arg->map->n-oldn);
}
return arg->map->n;
@@ -336,6 +331,7 @@ gendata_h48k2(gendata_h48_arg_t *arg)
.map = &shortcubes
};
gendata_h48short(&shortarg);
+ LOG("Computed %" PRIu64 " positions\n", shortarg.map->n);
if (arg->base >= 20)
arg->base = base[arg->h];