aboutsummaryrefslogtreecommitdiff
path: root/src/helppages.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-11 21:37:34 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-11 21:37:34 +0100
commit3568412f8f230774d0d11d7ed1c897424f95d3ef (patch)
tree77223792d8c925a9b1fc32b3f4341e943b5f8209 /src/helppages.h
parent67e1b5e6e6a2c917a2fe58a37a1382c982b1e5c5 (diff)
downloadnissy-3568412f8f230774d0d11d7ed1c897424f95d3ef.tar.gz
nissy-3568412f8f230774d0d11d7ed1c897424f95d3ef.zip
Rewritten from scratch. Welocme nissy 2.0!
Diffstat (limited to 'src/helppages.h')
-rw-r--r--src/helppages.h689
1 files changed, 0 insertions, 689 deletions
diff --git a/src/helppages.h b/src/helppages.h
deleted file mode 100644
index 178de37..0000000
--- a/src/helppages.h
+++ /dev/null
@@ -1,689 +0,0 @@
1/* To generate this help page, use the script makedoc.sh */
2
3int Npages = 22;
4
5char *helppages[][10] = {
6
7{ "add",
8"\
9\n\
10HELP PAGE FOR COMMAND add\n\
11\n\
12SYNTAX\n\
13add [MOVES|$ID1|@ID1] $ID2\n\
14\n\
15DESCRIPTION\n\
16Appends either MOVES, the scramble memorized under $ID1 or the output sequence\n\
17memorized under @ID1 at the end of the scramble memorized under $ID2. If none\n\
18of MOVES, $ID1 or @ID1 is specified, the user will be asked to type the moves.\n\
19Menmonic: \"add x to y\" or just \"add to y\".\n\
20\n\
21EXAMPLES\n\
22add $1\n\
23 The user is required to type the moves that will be appended to $1.\n\
24add F R B $1\n\
25 Appends the moves F R B to scramble $1. Now scramble $1 ends with F R B.\n\
26\n\
27"
28},
29
30{ "change",
31"\
32\n\
33HELP PAGE FOR COMMAND change\n\
34\n\
35SYNTAX\n\
36change $ID1 [MOVES|$ID2|@ID2]\n\
37\n\
38DESCRIPTION\n\
39Changes the scramble $ID1 to either MOVES, the scramble $ID2, the output @ID2\n\
40or, if none is specified, the moves entered by the user. The scramble that was\n\
41memorized under $ID1 is then lost.\n\
42Mnemonic: \"change x to y\", or just \"change x\".\n\
43\n\
44EXAMPLES\n\
45change $1\n\
46 The user is required to type the moves that will replace $1.\n\
47change $2 $3\n\
48 Saves the scramble that was saved under $3 in $2. Now $2 and $3 are the same\n\
49 scrambles, and the old $2 is lost.\n\
50change $1 U R\n\
51 Saves U R as scramble $1.\n\
52\n\
53"
54},
55
56{ "clear",
57"\
58\n\
59HELP PAGE FOR COMMAND clear\n\
60\n\
61SYNTAX\n\
62clear\n\
63\n\
64DESCRIPTION\n\
65Resets all saved scrambles and output sequences.\n\
66\n\
67"
68},
69
70{ "co",
71"\
72\n\
73HELP PAGE FOR COMMAND co\n\
74\n\
75SYNTAX\n\
76co [OPTIONS] [MOVES|$ID|@ID]\n\
77\n\
78DESCRIPTION\n\
79Solves CO for a given scramble. A scramble can be given as last argument of the\n\
80command, or an ID of a saved scramble can be provided. If none of the two is\n\
81given, a prompt will ask the user to input a new scramble.\n\
82\n\
83OPTIONS\n\
84axis={fb,rl,ud} Specify the axis for the CO. One to three axes can be given,\n\
85 comma separated, no spaces.\n\
86 Default: CO on any of the three axis (omitting the option is\n\
87 the same as specifying axis=fb,rl,ud).\n\
88b=N Specify a bound for the number of moves. N must be a number.\n\
89 Default value: 20.\n\
90h Show hidden COs.\n\
91 Default, if an CO ending in e.g. F is shown, the equivalent\n\
92 one ending in F' is hidden.\n\
93i Ignore centers. By default the CO is aligned with centers.\n\
94niss Use NISS.\n\
95 Default: does not use NISS.\n\
96n=N Specify a maximum number of COs to be output. N must be a\n\
97 number.\n\
98 Default value: 1.\n\
99\n\
100EXAMPLES\n\
101co axis=fb $1\n\
102 Finds one optimal CO on fb for the first saved scramble.\n\
103\n\
104co n=5 b=4 U R F \n\
105 Finds up to 5 COs of length at most 4 for scramble U R F.\n\
106\n\
107co n=100 b=5 niss axis=fb,ud h R' U' F L R'U'F\n\
108 Finds up to 100 COs of lenth at most 4, possibly using NISS, including\n\
109 \"hidden\" COs, excluding the rl axis.\n\
110\n\
111"
112},
113
114{ "dr",
115"\
116\n\
117HELP PAGE FOR COMMAND dr\n\
118\n\
119SYNTAX\n\
120dr [OPTIONS] [MOVES|$ID|@ID]\n\
121\n\
122DESCRIPTION\n\
123Solves DR for a given scramble. A scramble can be given as last argument of the\n\
124command, or an ID of a saved scramble can be provided. If none of the two is\n\
125given, a prompt will ask the user to input a new scramble.\n\
126If the option \"from\" is given (see below), it solves DR from an EO (if edges\n\
127are oriented) without breaking that EO.\n\
128The first time this command is called without the option from (and, to some\n\
129extent, also the first time it is called with the option from), nissy loads\n\
130some pruning tables that were not loaded on startup, causing a small but\n\
131noticeable delay.\n\
132\n\
133OPTIONS\n\
134axis={fb,rl,ud} Specify the axis for the DR. One to three axes can be given,\n\
135 comma separated, no spaces.\n\
136 Default: DR on any of the three axis (omitting the option is\n\
137 the same as specifying axis=fb,rl,ud).\n\
138b=N Specify a bound for the number of moves. N must be a number.\n\
139 Default value: 20.\n\
140h Show hidden DRs.\n\
141 Default, if an DR ending in e.g. R is shown, the equivalent\n\
142 one ending in R' is hidden.\n\
143from {fb|rl|ud} Solve DR from the specified EO, which must be solved,\n\
144 without breaking the EO.\n\
145niss Use NISS. It works only if solving DR from EO.\n\
146 Default: does not use NISS.\n\
147n=N Specify a maximum number of EOs to be output. N must be a\n\
148 number.\n\
149 Default value: 1.\n\
150\n\
151EXAMPLES\n\
152dr from rl axis=ud $1\n\
153 Finds optimal DR on ud, starting from EO on rl, for the first saved scramble.\n\
154\n\
155dr niss from fb n=10 m=6 F2 R L B' F D U' R2 L' F D B\n\
156 Finds up to 10 DRs of length at most 6 from EO on fb, possibly using NISS.\n\
157\n\
158dr n=100 axis=ud h\n\
159 Finds 100 DRs on ud, including \"hidden\" DRs.\n\
160\n\
161"
162},
163
164{ "drcorners",
165"\
166\n\
167HELP PAGE FOR COMMAND drcorners\n\
168\n\
169SYNTAX\n\
170drcorners [OPTIONS] [MOVES|$ID|@ID]\n\
171\n\
172DESCRIPTION\n\
173Similar to drfinish, but only solves corners. CO must be solved. The scramble\n\
174can be given as the last argument of the command, or it may be given as an $ID\n\
175or @ID, or it can be typed out on the following line.\n\
176\n\
177OPTIONS\n\
178from {ud|fb|rl} Allows to specify on which axis the CO is solved. It is\n\
179 usually not necessary, since nissy will find a CO on any\n\
180 axis.\n\
181i Ignores E-layer centers. By default cornersare solved\n\
182 relatively to centers; this options allows for solutions\n\
183 which solve corners relatively to each other and to the\n\
184 U and D sides, but not to the E layer (or any equivalent\n\
185 if the CO is not on U/D).\n\
186b=N Specify a bound for the number of moves. N must be a number.\n\
187 Default value: 20.\n\
188n=N Specify a maximum number of solutions to be output. N must\n\
189 be a number.\n\
190 Default value: 1.\n\
191\n\
192EXAMPLES\n\
193drcorners n=3 R' D R2 D' R' U2 R D R' U2 R' D' R\n\
194 Produces the following output:\n\
195Found 3 results.\n\
196@1: U' F2 U R2 U2 F2 U F2 U R2 (10)\n\
197@2: U' F2 U R2 U2 B2 U R2 D R2 (10)\n\
198@3: U' F2 U R2 U2 B2 U L2 U L2 (10)\n\
199\n\
200"
201},
202
203{ "drfinish",
204"\
205\n\
206HELP PAGE FOR COMMAND drfinish\n\
207\n\
208SYNTAX\n\
209drfinish [OPTIONS] [MOVES|$ID|@ID]\n\
210\n\
211DESCRIPTION\n\
212Solves the given scramble using the DR moveset. DR must be solved. The scramble\n\
213can be given as the last argument of the command, or it may be given as an $ID\n\
214or @ID, or it can be typed out on the following line.\n\
215\n\
216OPTIONS\n\
217from {ud|fb|rl} Allows to specify on which axis the DR is solved. It is\n\
218 usually not necessary, since nissy will find a DR on any\n\
219 axis, but it can be useful if one want to e.g. solve an HTR\n\
220 state allowing quarter-turns from a specific DR.\n\
221b=N Specify a bound for the number of moves. N must be a number.\n\
222 Default value: 20.\n\
223n=N Specify a maximum number of solutions to be output. N must\n\
224 be a number.\n\
225 Default value: 1.\n\
226\n\
227EXAMPLES\n\
228dr from ud R L' U2 R' L F2\n\
229 Solves the given scramble using the moveset <U,D,R2,L2,F2,B2>. In this case:\n\
230@1: U2 R2 F2 R2 U2 R2 F2 R2 (8)\n\
231drfinish b=7 n=10 $1\n\
232 Finds (at most) 10 solutions of length at most 7 for the scramble $1.\n\
233\n\
234"
235},
236
237{ "eo",
238"\
239\n\
240HELP PAGE FOR COMMAND eo\n\
241\n\
242SYNTAX\n\
243eo [OPTIONS] [MOVES|$ID|@ID]\n\
244\n\
245DESCRIPTION\n\
246Solves EO for a given scramble. A scramble can be given as last argument of the\n\
247command, or an ID of a saved scramble can be provided. If none of the two is\n\
248given, a prompt will ask the user to input a new scramble.\n\
249\n\
250OPTIONS\n\
251axis={fb,rl,ud} Specify the axis for the EO. One to three axes can be given,\n\
252 comma separated, no spaces.\n\
253 Default: EO on any of the three axis (omitting the option is\n\
254 the same as specifying axis=fb,rl,ud).\n\
255b=N Specify a bound for the number of moves. N must be a number.\n\
256 Default value: 20.\n\
257h Show hidden EOs.\n\
258 Default, if an EO ending in e.g. F is shown, the equivalent\n\
259 one ending in F' is hidden.\n\
260niss Use NISS.\n\
261 Default: does not use NISS.\n\
262n=N Specify a maximum number of EOs to be output. N must be a\n\
263 number.\n\
264 Default value: 1.\n\
265\n\
266EXAMPLES\n\
267eo axis=fb $1\n\
268 Finds one optimal EO on fb for the first saved scramble.\n\
269\n\
270eo n=5 b=4 U R F \n\
271 Finds up to 5 EOs of length at most 4 for scramble U R F.\n\
272\n\
273eo n=100 b=5 niss axis=fb,ud h R' U' F L R'U'F\n\
274 Finds up to 100 EOs of lenth at most 4, possibly using NISS, including\n\
275 \"hidden\" EOs, excluding the rl axis.\n\
276\n\
277"
278},
279
280{ "exit",
281"\
282\n\
283HELP PAGE FOR COMMAND exit\n\
284\n\
285SYNTAX\n\
286exit\n\
287\n\
288DESCRIPTION\n\
289Exits nissy.\n\
290\n\
291"
292},
293
294{ "help",
295"\
296\n\
297HELP PAGE FOR COMMAND help\n\
298\n\
299SYNTAX\n\
300help [nissy|COMMAND]\n\
301\n\
302DESCRIPTION\n\
303'help nissy' prints a general user manual. 'help COMMAND' prints a detailed\n\
304help page for the command COMMAND, if it exists. 'help' prints a list of all\n\
305available commands a short description for each.\n\
306\n\
307EXAMPLES\n\
308help help\n\
309 Prints this help page.\n\
310\n\
311"
312},
313
314{ "htr",
315"\
316\n\
317HELP PAGE FOR COMMAND htr\n\
318\n\
319SYNTAX\n\
320htr [OPTIONS] [MOVES|$ID|@ID]\n\
321\n\
322DESCRIPTION\n\
323Finds HTR for a given scramble. DR must be solved. A scramble can be given as\n\
324last argument of the command, or an ID of a saved scramble can be provided. If\n\
325none of the two is given, a prompt will ask the user to input a new scramble.\n\
326\n\
327OPTIONS\n\
328from {ud|fb|rl} Allows to specify on which axis the DR is. This is usually\n\
329 not needed, since nissy will automatically find it out.\n\
330b=N Specify a bound for the number of moves. N must be a number.\n\
331 Default value: 20.\n\
332h Show hidden HTRs.\n\
333 Default, if an HTR ending in e.g. R is shown, the equivalent\n\
334 one ending in R' is hidden.\n\
335niss Use NISS.\n\
336 Default: does not use NISS.\n\
337n=N Specify a maximum number of HTRs to be output. N must be a\n\
338 number.\n\
339 Default value: 1.\n\
340\n\
341EXAMPLES\n\
342eo n=10 b=7 niss $1\n\
343 Finds up to 100 HTRs of lenth at most 7, possibly using NISS, including\n\
344 \"hidden\" HTRs, for scramble $1. DR must be solved.\n\
345\n\
346"
347},
348
349{ "htrfinish",
350"\
351\n\
352HELP PAGE FOR COMMAND htrfinish\n\
353\n\
354SYNTAX\n\
355htrfinish [OPTIONS] [MOVES|$ID|@ID]\n\
356\n\
357DESCRIPTION\n\
358Similar to drfinish, but uses the moveset <U2,D2,R2,L2,F2,B2>. HTR must be\n\
359solved. The scramble can be given as the last argument of the command, or it\n\
360may be given as an $ID or @ID, or it can be typed out on the following line.\n\
361\n\
362OPTIONS\n\
363b=N Specify a bound for the number of moves. N must be a number.\n\
364 Default value: 20.\n\
365n=N Specify a maximum number ofsolutions to be output. N must be\n\
366 a number.\n\
367 Default value: 1.\n\
368\n\
369EXAMPLES\n\
370htrfinish R L' U2 R' L F2\n\
371 Produces the following solution:\n\
372@1: U2 R2 F2 R2 U2 R2 F2 R2 (8)\n\
373\n\
374"
375},
376
377{ "invert",
378"\
379\n\
380HELP PAGE FOR COMMAND invert\n\
381\n\
382SYNTAX\n\
383invert [MOVES|$ID|@ID]\n\
384\n\
385DESCRIPTION\n\
386Inverts a sequence of moves, which can be given also as $ID or @ID. The given\n\
387sequence must not use NISS (if it does, use the command unniss first).\n\
388\n\
389EXAMPLES\n\
390invert F R D'\n\
391 Prints D R' F'\n\
392\n\
393"
394},
395
396{ "nissy",
397"\
398\n\
399*******************************************************************************\n\
400********************* NISSY: a cube solver and FMC helper *********************\n\
401*******************************************************************************\n\
402\n\
403If you just want to solve the cube, type 'solve' followed by the scramble. This\n\
404will not always give you an optimal solution, unless it is 10 moves or less or\n\
405you use the \"o\" option. Finding the optimal solution might take very long if it\n\
406is 16 moves or more, especially for the first time.\n\
407\n\
408Now the fun stuff. With nissy you can save and manipulate move sequences, for\n\
409example:\n\
410\n\
411nissy-# save R' U' F\n\
412$1: R' U' F\n\
413nissy-# add L2D' $1\n\
414$1: R' U' F L2 D'\n\
415\n\
416You can then ask nissy to solve certain substepson a saved scramble:\n\
417\n\
418nissy-# eo axis=rl $1\n\
419@1: U D F' R (4)\n\
420\n\
421And of course it uses also NISS, if you ask:\n\
422\n\
423nissy-# eo niss axis=rl $1\n\
424@1: (R) (1)\n\
425\n\
426Notice that the sequences you save are marked with a $, while the \"output\"\n\
427sequences are marked with @. The difference between these two type of sequences\n\
428is that those marked with @ are temporary and get lost once you get new output.\n\
429Most commands accept as input either a move sequence typed out, a $-sequence or\n\
430a @-sequence. For example, you can however save a @-sequence and make it\n\
431persistent:\n\
432\n\
433nissy-# save @1\n\
434$2: (R)\n\
435\n\
436Nissy also understands NISS. Let's see a more complicated example where you\n\
437save a scramble, ask for some EOs (using NISS) and then a DR on inverse:\n\
438\n\
439nissy-# save R' U' F R U R2 F2 R2 D R2 U L2 U R2 D2 B' D U' R D R' D U2 F2 R' U' F\n\
440$3: R' U' F R U R2 F2 R2 D R2 U L2 U R2 D2 B' D U' R D R' D U2 F2 R' U' F \n\
441nissy-# eo n=10 niss axis=fb,rl $3\n\
442Found 10 results.\n\
443@1: (U' L B D F) (5)\n\
444@2: (U' L B' D F) (5)\n\
445@3: (L B U D F) (5)\n\
446@4: (L B' U D F) (5)\n\
447@5: R U B U L (5)\n\
448@6: R U' L (B L) (5)\n\
449@7: R U' B U L (5)\n\
450@8: R L (L B L) (5)\n\
451@9: R (U2 D' F R) (5)\n\
452@10: R (U2 F D' R) (5)\n\
453nissy-# add @6 $3\n\
454$3: R' U' F R U R2 F2 R2 D R2 U L2 U R2 D2 B' D U' R D R' D U2 F2 R' U' F R U' L (B L) \n\
455nissy-# unniss $3\n\
456@1: L' B' R' U' F R U R2 F2 R2 D R2 U L2 U R2 D2 B' D U' R D R' D U2 F2 R' U' F R U' L \n\
457nissy-# invert @1\n\
458@1: L' U R' F' U R F2 U2 D' R D' R' U D' B D2 R2 U' L2 U' R2 D' R2 F2 R2 U' R' F' U R B L \n\
459nissy-# save @1\n\
460$5: L' U R' F' U R F2 U2 D' R D' R' U D' B D2 R2 U' L2 U' R2 D' R2 F2 R2 U' R' F' U R B L \n\
461nissy-# dr from rl $5\n\
462@1: F2 U D2 F' B D B (7)\n\
463nissy-# \n\
464\n\
465If you ask nissy to solve a substep (or the whole cube) using a sequence with\n\
466NISS as scramble, it will first un-NISS it (but without saving the unNISSed\n\
467scramble anywhere):\n\
468\n\
469print $3\n\
470$3: R' U' F R U R2 F2 R2 D R2 U L2 U R2 D2 B' D U' R D R' D U2 F2 R' U' F R U' L (B L) \n\
471nissy-# solve $3\n\
472@1: F U' R2 F2 U2 F U2 R2 L2 D R2 U B2 D' L2 D B2 D2 (18)\n\
473\n\
474Nissy knows how to solve certain common sub-steps for DR (or Thistlethwaite /\n\
475Kociemba algorithms). For now it does know more common speedsolving methods.\n\
476\n\
477For a full list of commands type \"help\". For a more detailed help on a specific\n\
478command, type \"help (command)\". The help pages can also be found in the docs\n\
479folder.\n\
480\n\
481If you want to report a bug (I'm sure there are many!) or give a suggestion,\n\
482you can send an email to sebastiano.tronto@gmail.com.\n\
483\n\
484Have fun!\n\
485\n\
486"
487},
488
489{ "pic",
490"\
491\n\
492HELP PAGE FOR COMMAND pic\n\
493\n\
494SYNTAX\n\
495pic [MOVES|$ID|@ID]\n\
496\n\
497DESCRIPTION\n\
498Prints the cube state after applying the given scramble.\n\
499\n\
500EXAMPLES\n\
501pic R' U' F R U R2 F2 R2 D R2 U L2 U R2 D2 B' D U' R D R' D U2 F2 R' U' F \n\
502 Gives the following output:\n\
503 UF UL UB UR DF DL DB DR FR FL BL BR \n\
504EP: FR UL FL UR UF DB DR BL UB BR DL DF \n\
505EO(F/B): x x x x x x x x \n\
506\n\
507 UFR UFL UBL UBR DFR DFL DBL DBR \n\
508CP: UBR UFR DFL DBL UFL UBL DBR DFR \n\
509CO(U/D): ccw cw ccw cw\n\
510\n\
511"
512},
513
514{ "print",
515"\
516\n\
517HELP PAGE FOR COMMAND print\n\
518\n\
519SYNTAX\n\
520print [$ID|@ID]\n\
521\n\
522DESCRIPTION\n\
523Prints memorized sequences. If no argument is given, it prints all memorized\n\
524scrambles ($ only). If $ID or @ID is specified, it only prints the relative\n\
525memorized sequence.\n\
526\n\
527EXAMPLES\n\
528print\n\
529 Prints a list of all memorized scrambles (only $).\n\
530print $2\n\
531 Prints the second memorized scramble.\n\
532print @13\n\
533 Prints the 13th sequence that was part of the output of the last command.\n\
534\n\
535"
536},
537
538{ "quit",
539"\
540\n\
541HELP PAGE FOR COMMAND quit\n\
542\n\
543SYNTAX\n\
544quit\n\
545\n\
546DESCRIPTION\n\
547Exits nissy.\n\
548\n\
549"
550},
551
552{ "replace",
553"\
554\n\
555HELP PAGE FOR COMMAND replace\n\
556\n\
557SYNTAX\n\
558eo [OPTIONS] [MOVES|$ID|@ID]\n\
559\n\
560DESCRIPTION\n\
561Looks for non-optimal subsequences and replaces them to shorten the given\n\
562sequence. By default it tries to shorten every subsequence of up to 10 moves,\n\
563but this can be change with the \"b\" option.\n\
564It outputs at most 10 equivalent optimal sequences for each replaceable part.\n\
565\n\
566OPTIONS\n\
567b=N Finds non-optimal subsequences of up to N moves.\n\
568\n\
569EXAMPLES\n\
570replace D2 F' D2 U2 F' L2 R2 U' D B2 D B2 U B2 F L2 R' F' D U' \n\
571 Produces the following output:\n\
572Replace [ R2 U' D B2 D B2 ] (moves 7-12) with: [ D R2 D U' ] (-6+4)\n\
573Replace [ R2 U' D B2 D B2 U ] (moves 7-13) with: [ D R2 D ] (-7+3)\n\
574Replace [ U' D B2 D B2 U ] (moves 8-13) with: [ R2 D R2 D ] (-6+4)\n\
575\n\
576"
577},
578
579{ "save",
580"\
581\n\
582HELP PAGE FOR COMMAND save\n\
583\n\
584SYNTAX\n\
585save [MOVES|@ID|$ID]\n\
586\n\
587DESCRIPTION\n\
588Memorizes the scramble specified by MOVES, given as input or temporarily saved\n\
589as @ID, where ID is a number ('help nissy' for for more on IDs). If an $ID is\n\
590given, it makes a copy of the scramble. An identifier of the form $ID, where ID\n\
591is a number, is assigned to the memorized scramble.\n\
592\n\
593EXAMPLES\n\
594save R U R' U'\n\
595 Saves the scramble R U R' U'.\n\
596save F (B)\n\
597 Saves the scramble F (B) (NISS notation).\n\
598save @3\n\
599 Saves the third output sequence of the last command.\n\
600save $2\n\
601 Makes a copy of the second saved scramble.\n\
602\n\
603"
604},
605
606{ "scramble",
607"\
608\n\
609HELP PAGE FOR COMMAND scramble\n\
610\n\
611SYNTAX\n\
612scramble [OPTIONS]\n\
613\n\
614DESCRIPTION\n\
615Produces a random-state scramble. There are options to get a corners-only,\n\
616edges-only or dr-state scramble.\n\
617\n\
618OPTIONS\n\
619c Scrambles corners only (edges are solved).\n\
620e Scrambles edges only (corners are solved).\n\
621dr DR-state scramble. The DR is always on the U/D axis.\n\
622\n\
623\n\
624EXAMPLES\n\
625scramble\n\
626 Gives a random-state scramble\n\
627scramble dr\n\
628 Gives a random-DR-state scramble\n\
629\n\
630"
631},
632
633{ "solve",
634"\
635\n\
636HELP PAGE FOR COMMAND solve\n\
637\n\
638SYNTAX\n\
639solve [MOVES|$ID|@ID]\n\
640\n\
641DESCRIPTION\n\
642Solves the given scramble, which can be given as a sequence of moves or as $ID\n\
643or @ID. If none is given, the user can type it on the next line.\n\
644The algorithm first tries to find a short (<=10 moves) solution, and then\n\
645switches to a 2-step algorithm (unless the option \"o\" is specified, in which\n\
646case it keeps looking for an optimal solution).\n\
647The first time it uses the 2-step algorithm it needs to load some tables, which\n\
648can take a few seconds. It runs much faster after that. If the option \"o\" is\n\
649specified, the first time it loads some large tables, which can take a minute\n\
650or two.\n\
651\n\
652OPTIONS\n\
653b=N Only looks for solutions up to N moves.\n\
654n=N Tries to find multiple solutions, at most N. Multiple\n\
655 Solutions will only be found if they are <=10 moves.\n\
656o Looks for optimal solution.\n\
657\n\
658\n\
659EXAMPLES\n\
660solve R' U' F\n\
661 Solves the scramble R' U' F.\n\
662solve o b=14 $1\n\
663 Tries to solve the scramble $1 optimally, but stops if no solution of 14\n\
664 moves or shorter is found.\n\
665solve n=16 R L' U2 R' L F2\n\
666 Finds the 16 shortest solutions for the scramble above.\n\
667\n\
668"
669},
670
671{ "unniss",
672"\
673\n\
674HELP PAGE FOR COMMAND unniss\n\
675\n\
676SYNTAX\n\
677unniss [MOVES|$ID|@ID]\n\
678\n\
679DESCRIPTION\n\
680Removes NISS from a sequence of moves, which can be given also as $ID or @ID.\n\
681A sequence of the form A (B) is translated to B' A.\n\
682\n\
683EXAMPLES\n\
684invert F R (D' L2)\n\
685 Prints L2 D F R\n\
686\n\
687"
688},
689};

Generated with cgit - Back to sebastiano.tronto.net