aboutsummaryrefslogtreecommitdiff
path: root/src/alg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/alg.h')
-rw-r--r--src/alg.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/alg.h b/src/alg.h
deleted file mode 100644
index 967cd92..0000000
--- a/src/alg.h
+++ /dev/null
@@ -1,35 +0,0 @@
1#ifndef ALG_H
2#define ALG_H
3
4#include <stdio.h>
5#include <stdlib.h>
6#include <string.h>
7
8#include "cubetypes.h"
9#include "utils.h"
10
11void append_alg(AlgList *l, Alg *alg);
12void append_move(Alg *alg, Move m, bool inverse);
13Move base_move(Move m);
14int compare(Move m1, Move m2); /* Return 1 (m1<m2), 0 or -1 (m1>m2) */
15int compare_last(Alg *alg, Move m, bool inverse);
16void compose_alg(Alg *alg1, Alg *alg2);
17bool commute(Move m1, Move m2);
18void copy_alg(Alg *src, Alg *dst);
19void free_alg(Alg *alg);
20void free_alglist(AlgList *l);
21Alg * inverse_alg(Alg *alg);
22Move inverse_move(Move m);
23char * move_string(Move m);
24Alg * new_alg(char *str);
25AlgList * new_alglist();
26Alg * on_inverse(Alg *alg);
27void print_alg(Alg *alg, bool l);
28void print_alglist(AlgList *al, bool l);
29void remove_last_move(Alg *alg);
30void swapmove(Move *m1, Move *m2);
31char * trans_string(Trans t); /* Here because similar to move_string, move? */
32Alg * unniss(Alg *alg);
33
34#endif
35

Generated with cgit - Back to sebastiano.tronto.net