From a125e69c8ce0a2764b1e50b2dad0a4fa9d141ef4 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 6 Sep 2022 18:00:40 +0200 Subject: Symcoord version of nissy. Interesting idea, but performance are actually slower. AT THIS STAGE NISSY IS NOT USABLE. --- src/moves.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'src/moves.h') 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 @@ #include "cube.h" #include "env.h" -/* - * Tables are exposed to allow for faster moves in some cases. - */ -extern int epose_mtable[NMOVES][FACTORIAL12/FACTORIAL8]; -extern int eposs_mtable[NMOVES][FACTORIAL12/FACTORIAL8]; -extern int eposm_mtable[NMOVES][FACTORIAL12/FACTORIAL8]; -extern int eofb_mtable[NMOVES][POW2TO11]; -extern int eorl_mtable[NMOVES][POW2TO11]; -extern int eoud_mtable[NMOVES][POW2TO11]; -extern int cp_mtable[NMOVES][FACTORIAL8]; -extern int coud_mtable[NMOVES][POW3TO7]; -extern int cofb_mtable[NMOVES][POW3TO7]; -extern int corl_mtable[NMOVES][POW3TO7]; -extern int cpos_mtable[NMOVES][FACTORIAL6]; - -Cube apply_alg(Alg *alg, Cube cube); -Cube apply_alg_generic(Alg *alg, Cube c, PieceFilter f, bool a); -Cube apply_move(Move m, Cube cube); +void apply_alg(Alg *alg, Cube *cube); +void apply_move(Move m, Cube *cube); Alg * cleanup(Alg *alg); void init_moves(); -- cgit v1.3