aboutsummaryrefslogtreecommitdiff
path: root/src/cubetypes.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-08 17:38:42 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-08 17:38:42 +0100
commita0b89016dc7ea42fe8af0aeb956fd383cd1b66f1 (patch)
tree27dc3f3ff760f4b1339e9ebd5e5612caf3cd1c08 /src/cubetypes.h
parent131428b913a3d42f26714b8e5e873d8112db10c0 (diff)
downloadnissy-a0b89016dc7ea42fe8af0aeb956fd383cd1b66f1.tar.gz
nissy-a0b89016dc7ea42fe8af0aeb956fd383cd1b66f1.zip
Faster and nice pruning table generation. Can still be improved with multithreading.
Diffstat (limited to '')
-rw-r--r--src/cubetypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cubetypes.h b/src/cubetypes.h
index 3f350af..27666be 100644
--- a/src/cubetypes.h
+++ b/src/cubetypes.h
@@ -100,6 +100,7 @@ typedef uint64_t (*Indexer) (Cube);
100typedef bool (*Moveset) (Move); 100typedef bool (*Moveset) (Move);
101typedef CommandArgs * (*ArgParser) (int, char **); 101typedef CommandArgs * (*ArgParser) (int, char **);
102typedef Trans (*TransDetector) (Cube); 102typedef Trans (*TransDetector) (Cube);
103typedef int (*TransFinder) (uint64_t ind, Trans *);
103 104
104 105
105/* Structs *******************************************************************/ 106/* Structs *******************************************************************/
@@ -162,8 +163,7 @@ coordinate
162 Indexer index; 163 Indexer index;
163 AntiIndexer cube; 164 AntiIndexer cube;
164 uint64_t max; 165 uint64_t max;
165 int ntrans; 166 TransFinder trans;
166 Trans * trans;
167}; 167};
168 168
169struct 169struct

Generated with cgit - Back to sebastiano.tronto.net