aboutsummaryrefslogtreecommitdiff
path: root/old/manualsimd/cube.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-13 22:28:49 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-13 22:28:49 +0200
commitc04a283a7ab97903683f5f7268068aef69f5bddf (patch)
tree9809c4a71c2ad1a5123371c32c34f03b1b703ecf /old/manualsimd/cube.h
parent7812684339d03f6993882358b0045c1bc2d5032c (diff)
downloadnissy-core-c04a283a7ab97903683f5f7268068aef69f5bddf.tar.gz
nissy-core-c04a283a7ab97903683f5f7268068aef69f5bddf.zip
Added benchmark; removed old folder
Diffstat (limited to 'old/manualsimd/cube.h')
-rw-r--r--old/manualsimd/cube.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/old/manualsimd/cube.h b/old/manualsimd/cube.h
deleted file mode 100644
index b916f96..0000000
--- a/old/manualsimd/cube.h
+++ /dev/null
@@ -1,27 +0,0 @@
1typedef enum {
2 U, U2, U3, D, D2, D3,
3 R, R2, R3, L, L2, L3,
4 F, F2, F3, B, B2, B3
5} move_t;
6typedef struct {
7 uint64_t e;
8 uint64_t c;
9} cube_t;
10
11extern cube_t solvedcube;
12extern cube_t errorcube;
13
14bool isconsistent(cube_t);
15bool issolved(cube_t);
16
17cube_t readcube(char *);
18void writecube(cube_t, char *);
19
20int readmoves(char *, move_t *);
21void writemoves(move_t *, int, char *);
22
23cube_t move(cube_t, move_t);
24
25/*
26cube_t inverse(cube_t);
27*/

Generated with cgit - Back to sebastiano.tronto.net