aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-07 14:02:51 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-07 14:02:51 +0100
commitc03434177dd840e203658205bbe82006e08da028 (patch)
tree8feb049a897a73563cd6d4d88c27f57fa8e9d9a8 /src
parentb6fd508253bce9225dd24b6538adb5093892c4f8 (diff)
downloadnissy-c03434177dd840e203658205bbe82006e08da028.tar.gz
nissy-c03434177dd840e203658205bbe82006e08da028.zip
Just added a comment
Diffstat (limited to '')
-rw-r--r--src/pruning.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pruning.c b/src/pruning.c
index 40f273d..b000eb7 100644
--- a/src/pruning.c
+++ b/src/pruning.c
@@ -159,6 +159,14 @@ genptable_branch(PruneData *pd, uint64_t ind, int d, Move *ms)
159 159
160 ci = pd->coord->cube(ind); 160 ci = pd->coord->cube(ind);
161 161
162 /*
163 * Here we deal with the following problem:
164 * The set of positions reached by applying each move to
165 * a certain position X could depend on the representative
166 * used for X in its symmetry class.
167 * This is a terribly inefficient way to deal with this.
168 * TODO: make it more efficient.
169 */
162 for (i = 0; i < pd->coord->ntrans; i++) { 170 for (i = 0; i < pd->coord->ntrans; i++) {
163 c = i == 0 ? ci : 171 c = i == 0 ? ci :
164 apply_trans(pd->coord->trans[i], ci); 172 apply_trans(pd->coord->trans[i], ci);

Generated with cgit - Back to sebastiano.tronto.net