diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-28 20:57:04 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-28 20:57:04 +0100 |
| commit | 0f23987edbbabdf88fbe175f695b4fdb727586fd (patch) | |
| tree | 00e523aa0b714698768e62070e7bda09f2bdad3b /src/solvers/coord/eo.h | |
| parent | 50fedbdbf98bcf01bcd95259ac5a93ae108b3c68 (diff) | |
| download | nissy-core-0f23987edbbabdf88fbe175f695b4fdb727586fd.tar.gz nissy-core-0f23987edbbabdf88fbe175f695b4fdb727586fd.zip | |
DR coordinate solver
Diffstat (limited to 'src/solvers/coord/eo.h')
| -rw-r--r-- | src/solvers/coord/eo.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/solvers/coord/eo.h b/src/solvers/coord/eo.h index ef9b27a..3fabf9f 100644 --- a/src/solvers/coord/eo.h +++ b/src/solvers/coord/eo.h | |||
| @@ -1,14 +1,16 @@ | |||
| 1 | STATIC uint64_t coordinate_eo_coord(cube_t, const void *); | 1 | STATIC uint64_t coordinate_eo_coord(cube_t, const void *); |
| 2 | STATIC cube_t coordinate_eo_cube(uint64_t, const void *); | 2 | STATIC cube_t coordinate_eo_cube(uint64_t, const void *); |
| 3 | STATIC bool coordinate_eo_isnasty(uint64_t, const void *); | ||
| 3 | STATIC uint64_t coordinate_eo_gendata(void *); | 4 | STATIC uint64_t coordinate_eo_gendata(void *); |
| 4 | 5 | ||
| 5 | STATIC coord_t coordinate_eo = { | 6 | STATIC coord_t coordinate_eo = { |
| 6 | .name = "EO", | 7 | .name = "EO", |
| 7 | .coord = &coordinate_eo_coord, | 8 | .coord = &coordinate_eo_coord, |
| 8 | .cube = &coordinate_eo_cube, | 9 | .cube = &coordinate_eo_cube, |
| 10 | .isnasty = &coordinate_eo_isnasty, | ||
| 9 | .gendata = coordinate_eo_gendata, | 11 | .gendata = coordinate_eo_gendata, |
| 10 | .max = POW_2_11, | 12 | .max = POW_2_11, |
| 11 | .trans_mask = TM_ALLTRANS, | 13 | .trans_mask = TM_SINGLE(TRANS_UFr), |
| 12 | .moves_mask = MM_ALLMOVES, | 14 | .moves_mask = MM_ALLMOVES, |
| 13 | .axistrans = { | 15 | .axistrans = { |
| 14 | [AXIS_UD] = TRANS_FDr, | 16 | [AXIS_UD] = TRANS_FDr, |
| @@ -32,6 +34,12 @@ coordinate_eo_cube(uint64_t c, const void *data) | |||
| 32 | return cube; | 34 | return cube; |
| 33 | } | 35 | } |
| 34 | 36 | ||
| 37 | STATIC bool | ||
| 38 | coordinate_eo_isnasty(uint64_t c, const void *data) | ||
| 39 | { | ||
| 40 | return false; | ||
| 41 | } | ||
| 42 | |||
| 35 | STATIC size_t | 43 | STATIC size_t |
| 36 | coordinate_eo_gendata(void *data) | 44 | coordinate_eo_gendata(void *data) |
| 37 | { | 45 | { |
