aboutsummaryrefslogtreecommitdiff
path: root/old/2021-06-02-cleanedup/main.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-11 22:05:00 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-11 22:05:00 +0100
commit4fb67201414169a2687f41c4056b2e284b4938cb (patch)
treea68246e3e21435229541f83f485ab41cfb2ba08a /old/2021-06-02-cleanedup/main.c
parent3568412f8f230774d0d11d7ed1c897424f95d3ef (diff)
downloadnissy-4fb67201414169a2687f41c4056b2e284b4938cb.tar.gz
nissy-4fb67201414169a2687f41c4056b2e284b4938cb.zip
Removed old files
Diffstat (limited to '')
-rw-r--r--old/2021-06-02-cleanedup/main.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/old/2021-06-02-cleanedup/main.c b/old/2021-06-02-cleanedup/main.c
deleted file mode 100644
index fca5e3c..0000000
--- a/old/2021-06-02-cleanedup/main.c
+++ /dev/null
@@ -1,35 +0,0 @@
1#include <stdio.h>
2#include "cube.h"
3#include "steps.h"
4
5int main() {
6 Alg algo;
7 AlgList *sols;
8 Cube cube;
9 SolveOptions opts;
10
11 init();
12
13 algo = new_alg("R U R' F");
14 cube = apply_alg(algo, (Cube){0});
15
16 print_cube(apply_trans(rd, cube));
17
18 opts = (SolveOptions) {
19 .min_moves = 0,
20 .max_moves = 5,
21 .optimal_only = true,
22 .max_solutions = 3,
23 .can_niss = false,
24 .moveset = standard_moveset,
25 .pre_trans = fu
26 };
27 sols = solve(cube, step_eofb, opts);
28 if (sols->len == 0)
29 fprintf(stderr, "No solution found\n");
30 else
31 print_alg(sols->first->alg);
32
33
34 return 0;
35}

Generated with cgit - Back to sebastiano.tronto.net