diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-31 17:29:08 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-31 17:29:08 +0200 |
| commit | f021ee7fa4975eab02c158451093a28e83a725d9 (patch) | |
| tree | 7ec8d13732d59fa1b53e55b87753ebf35b5e58ad /src/cubetypes.h | |
| parent | e18f8e4eefadd733d985e99e2710111afa5a710a (diff) | |
| download | nissy-f021ee7fa4975eab02c158451093a28e83a725d9.tar.gz nissy-f021ee7fa4975eab02c158451093a28e83a725d9.zip | |
Big changes to coordinate system: remove "anti-index" in favor of a more kociemba-like move function for each coordinate. This should speedup the table generation step. WARNING: nissy might not be 100% functional at this stage, TESTING needed!
Diffstat (limited to 'src/cubetypes.h')
| -rw-r--r-- | src/cubetypes.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cubetypes.h b/src/cubetypes.h index 518c727..3ba667c 100644 --- a/src/cubetypes.h +++ b/src/cubetypes.h | |||
| @@ -168,11 +168,10 @@ struct | |||
| 168 | coordinate | 168 | coordinate |
| 169 | { | 169 | { |
| 170 | Indexer index; | 170 | Indexer index; |
| 171 | AntiIndexer cube; | ||
| 172 | uint64_t max; | 171 | uint64_t max; |
| 173 | TransFinder transfind; | ||
| 174 | CoordMover move; | 172 | CoordMover move; |
| 175 | CoordTransformer transform; | 173 | CoordTransformer transform; |
| 174 | SymData * sd; | ||
| 176 | }; | 175 | }; |
| 177 | 176 | ||
| 178 | struct | 177 | struct |
| @@ -324,8 +323,10 @@ symdata | |||
| 324 | int ntrans; | 323 | int ntrans; |
| 325 | Trans * trans; | 324 | Trans * trans; |
| 326 | uint64_t * class; | 325 | uint64_t * class; |
| 327 | Cube * rep; | 326 | uint64_t * unsym; |
| 328 | Trans * transtorep; | 327 | Trans * transtorep; |
| 328 | uint64_t * selfsim; | ||
| 329 | CoordTransformer transform; /* TODO: remove, use that of base coord */ | ||
| 329 | }; | 330 | }; |
| 330 | 331 | ||
| 331 | struct | 332 | struct |
