diff options
Diffstat (limited to 'TODO.txt')
| -rw-r--r-- | TODO.txt | 29 |
1 files changed, 22 insertions, 7 deletions
| @@ -1,12 +1,30 @@ | |||
| 1 | Correctness | 1 | Refactoring: remove cube_fast_t and add b32 format |
| 2 | - check all bitwise operations specifically | 2 | x added b32 converter by piece (not tested, will be tested automatically) |
| 3 | - consider adding more warnings (-pedantic?) or using more static analyzers | 3 | x added piece functions (e.g. corner(cube, i)) |
| 4 | (would be more efficient to just convert the whole thing to arrays...) | ||
| 5 | - replace all usages of cube_t with cube_fast_t and piece functions | ||
| 6 | (this is mainly in cube_routines) | ||
| 7 | (fix tests in tandem with main code) | ||
| 8 | cubetofast fasttocube | ||
| 9 | zero and solved | ||
| 10 | solvedcube(void) | ||
| 11 | [cube.h] isconsistent, issolvable, issolved, equal, iserror | ||
| 12 | [cube.h] compose, inverse | ||
| 13 | [cube.h] applymoves, applytrans | ||
| 14 | [cube.h] readcube writecube | ||
| 15 | [cube.h] solve | ||
| 16 | - add b32 i/o format as default | ||
| 17 | - remove cube_t type | ||
| 18 | - rename cube_fast_t to cube_t | ||
| 19 | - if all public functions work with strings, always use return value | ||
| 20 | as error code (solve already does this), and use string as buffer | ||
| 21 | to print error | ||
| 4 | 22 | ||
| 5 | Solver | 23 | Solver |
| 6 | - write a solver (how many tricks? some, but not all are needed) | 24 | - write a solver (how many tricks? some, but not all are needed) |
| 7 | 25 | ||
| 8 | More utilities for tables (in cube.h) | 26 | More utilities for tables (in cube.h) |
| 9 | - a "dryrun" function that only tells you the size needed | 27 | - for tables, a "dryrun" function that only tells you the size needed |
| 10 | - check hash of generated data | 28 | - check hash of generated data |
| 11 | 29 | ||
| 12 | Goal: find out which k value is best | 30 | Goal: find out which k value is best |
| @@ -15,9 +33,6 @@ Goal: find out which k value is best | |||
| 15 | - benchmark for different sizes! | 33 | - benchmark for different sizes! |
| 16 | 34 | ||
| 17 | Refactoring | 35 | Refactoring |
| 18 | - remove cube type and some low-level utilities from interface, | ||
| 19 | rename cube_fast_t to cube_t | ||
| 20 | - add b64 i/o format, base64 encoded cube, one 6-bit word per piece | ||
| 21 | - transformations: remove switch to make shorter, but keep performance | 36 | - transformations: remove switch to make shorter, but keep performance |
| 22 | 37 | ||
| 23 | ## H48 optimal solver (some has already been implemented) | 38 | ## H48 optimal solver (some has already been implemented) |
