diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2020-06-21 23:01:57 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2020-06-21 23:01:57 +0200 |
| commit | 0e8d73bb3edcc8bdff6e3ded442b66f68265059a (patch) | |
| tree | 4f92deb9ace97e79332c0e7ce390b76b81aeaae9 /docs/solve.txt | |
| parent | 4e359b44ce111b04cc4d2b28033fba4ab4e6e989 (diff) | |
| download | nissy-0e8d73bb3edcc8bdff6e3ded442b66f68265059a.tar.gz nissy-0e8d73bb3edcc8bdff6e3ded442b66f68265059a.zip | |
First push
Diffstat (limited to '')
| -rw-r--r-- | docs/solve.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/solve.txt b/docs/solve.txt new file mode 100644 index 0000000..1d83094 --- /dev/null +++ b/docs/solve.txt | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | |||
| 2 | HELP PAGE FOR COMMAND solve | ||
| 3 | |||
| 4 | SYNTAX | ||
| 5 | solve [MOVES|$ID|@ID] | ||
| 6 | |||
| 7 | DESCRIPTION | ||
| 8 | Solves the given scramble, which can be given as a sequence of moves or as $ID | ||
| 9 | or @ID. If none is given, the user can type it on the next line. | ||
| 10 | The algorithm first tries to find a short (<=10 moves) solution, and then | ||
| 11 | switches to a 2-step algorithm (unless the option "o" is specified, in which | ||
| 12 | case it keeps looking for an optimal solution). | ||
| 13 | The first time it uses the 2-step algorithm it needs to load some tables, which | ||
| 14 | can take a few seconds. It runs much faster after that. If the option "o" is | ||
| 15 | specified, the first time it loads some large tables, which can take a minute | ||
| 16 | or two. | ||
| 17 | |||
| 18 | OPTIONS | ||
| 19 | b=N Only looks for solutions up to N moves. | ||
| 20 | n=N Tries to find multiple solutions, at most N. Multiple | ||
| 21 | Solutions will only be found if they are <=10 moves. | ||
| 22 | o Looks for optimal solution. | ||
| 23 | |||
| 24 | |||
| 25 | EXAMPLES | ||
| 26 | solve R' U' F | ||
| 27 | Solves the scramble R' U' F. | ||
| 28 | solve o b=14 $1 | ||
| 29 | Tries to solve the scramble $1 optimally, but stops if no solution of 14 | ||
| 30 | moves or shorter is found. | ||
| 31 | solve n=16 R L' U2 R' L F2 | ||
| 32 | Finds the 16 shortest solutions for the scramble above. | ||
| 33 | |||
