From a0b89016dc7ea42fe8af0aeb956fd383cd1b66f1 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 8 Dec 2021 17:38:42 +0100 Subject: Faster and nice pruning table generation. Can still be improved with multithreading. --- src/cubetypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cubetypes.h') 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); typedef bool (*Moveset) (Move); typedef CommandArgs * (*ArgParser) (int, char **); typedef Trans (*TransDetector) (Cube); +typedef int (*TransFinder) (uint64_t ind, Trans *); /* Structs *******************************************************************/ @@ -162,8 +163,7 @@ coordinate Indexer index; AntiIndexer cube; uint64_t max; - int ntrans; - Trans * trans; + TransFinder trans; }; struct -- cgit v1.3