blob: 098b960403936b2ba269043b30def78a9200749d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Prototype for a new optimal solver
Work in progress. Everything is in a state of flux and can change without
notice.
## Building and running tests
First run
```
$ ./configure.sh
```
or `TYPE=AVX2 ./configure.sh` if you want to use AVX2 instructions.
Then
```
$ make test
```
to run the tests. You can also run only the tests that match a chosen
regex, for example:
```
$ TEST=coord make test
```
Due to ongoing changes, benchmarks are currently broken.
## Solving
Notes for myself while this is work in progress
```
$ make shell
$ ./run frommoves -moves (scramble)
```
copy the result, then
```
$ ./run solve -solver "H48" -options "2;20" -n 1 -M 10 -cube (paste here)
```
Options can be changed from `2;20` to `n;20` for larger tables.
|