aboutsummaryrefslogtreecommitdiff
path: root/src/moves.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-09-06 18:00:40 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2022-09-06 18:00:40 +0200
commita125e69c8ce0a2764b1e50b2dad0a4fa9d141ef4 (patch)
tree71cef86f853f6cae109841cf5bb15bf1b412fdd2 /src/moves.h
parent072c52f9a54144bc9a58cf2855d5b582f8ba7a1a (diff)
downloadnissy-a125e69c8ce0a2764b1e50b2dad0a4fa9d141ef4.tar.gz
nissy-a125e69c8ce0a2764b1e50b2dad0a4fa9d141ef4.zip
Symcoord version of nissy. Interesting idea, but performance are
actually slower. AT THIS STAGE NISSY IS NOT USABLE.
Diffstat (limited to 'src/moves.h')
-rw-r--r--src/moves.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/moves.h b/src/moves.h
index 14ae087..4afe8fb 100644
--- a/src/moves.h
+++ b/src/moves.h
@@ -5,24 +5,8 @@
5#include "cube.h" 5#include "cube.h"
6#include "env.h" 6#include "env.h"
7 7
8/* 8void apply_alg(Alg *alg, Cube *cube);
9 * Tables are exposed to allow for faster moves in some cases. 9void apply_move(Move m, Cube *cube);
10 */
11extern int epose_mtable[NMOVES][FACTORIAL12/FACTORIAL8];
12extern int eposs_mtable[NMOVES][FACTORIAL12/FACTORIAL8];
13extern int eposm_mtable[NMOVES][FACTORIAL12/FACTORIAL8];
14extern int eofb_mtable[NMOVES][POW2TO11];
15extern int eorl_mtable[NMOVES][POW2TO11];
16extern int eoud_mtable[NMOVES][POW2TO11];
17extern int cp_mtable[NMOVES][FACTORIAL8];
18extern int coud_mtable[NMOVES][POW3TO7];
19extern int cofb_mtable[NMOVES][POW3TO7];
20extern int corl_mtable[NMOVES][POW3TO7];
21extern int cpos_mtable[NMOVES][FACTORIAL6];
22
23Cube apply_alg(Alg *alg, Cube cube);
24Cube apply_alg_generic(Alg *alg, Cube c, PieceFilter f, bool a);
25Cube apply_move(Move m, Cube cube);
26Alg * cleanup(Alg *alg); 10Alg * cleanup(Alg *alg);
27 11
28void init_moves(); 12void init_moves();

Generated with cgit - Back to sebastiano.tronto.net