aboutsummaryrefslogtreecommitdiff
path: root/src/cubetypes.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-26 00:36:39 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-26 00:36:39 +0100
commitb82df53eb461506984eb2b6a9b53e445b75e46af (patch)
tree56140ec158318b67d8673993acc123c0ed3c5992 /src/cubetypes.h
parentce4d6f93c8d00a56b9356d0c0d8489c28e1459df (diff)
downloadnissy-b82df53eb461506984eb2b6a9b53e445b75e46af.tar.gz
nissy-b82df53eb461506984eb2b6a9b53e445b75e46af.zip
Better trans-detection system (for e.g. drfin for HTR scramble)
Diffstat (limited to '')
-rw-r--r--src/cubetypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cubetypes.h b/src/cubetypes.h
index 1b679aa..b002e8b 100644
--- a/src/cubetypes.h
+++ b/src/cubetypes.h
@@ -100,7 +100,7 @@ typedef bool (*Validator) (Alg *);
100typedef void (*Exec) (CommandArgs *); 100typedef void (*Exec) (CommandArgs *);
101typedef uint64_t (*Indexer) (Cube); 101typedef uint64_t (*Indexer) (Cube);
102typedef CommandArgs * (*ArgParser) (int, char **); 102typedef CommandArgs * (*ArgParser) (int, char **);
103typedef Trans (*TransDetector) (Cube); 103typedef int (*TransDetector) (Cube, Trans *);
104typedef int (*TransFinder) (uint64_t, Trans *); 104typedef int (*TransFinder) (uint64_t, Trans *);
105 105
106 106
@@ -202,6 +202,7 @@ dfsarg
202{ 202{
203 Step * step; 203 Step * step;
204 SolveOptions * opts; 204 SolveOptions * opts;
205 Trans t;
205 Cube cube; 206 Cube cube;
206 Cube inverse; 207 Cube inverse;
207 int d; 208 int d;
@@ -323,6 +324,7 @@ struct
323threaddatasolve 324threaddatasolve
324{ 325{
325 int thid; 326 int thid;
327 Trans t;
326 Cube cube; 328 Cube cube;
327 Step * step; 329 Step * step;
328 int depth; 330 int depth;

Generated with cgit - Back to sebastiano.tronto.net