aboutsummaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make the project build with Microsoft's broken C compiler.Sebastiano Tronto2026-04-063-27/+28
| | | | | | | | | | | | | MSVC is not fully C11-compliant, even when compiling with /std:c11. Some changes were needed to make the codebase compatible. Notably, the notation a[static N] and a[n] for function parameters of array type is not supported, so that had to be hidden behind a macro. Atomic types are also an experimental feature, apparently, but at least they work with the correct compiler flag. One thing that MSVC does well, however, is warning on integer conversions on /W4 level. I am not sure if Clang and GCC have something similar, so I took this chance to fix some of these.
* Added cornersx solverSebastiano Tronto2025-12-231-0/+2
|
* Add coordinate solvers for cornersh48-corner-estimateSebastiano Tronto2025-12-191-0/+9
|
* Added API function for solution variationsSebastiano Tronto2025-08-073-10/+284
|
* Added HTR solverSebastiano Tronto2025-08-061-0/+4
|
* Reworked coordinate solver axis specificationSebastiano Tronto2025-08-011-0/+13
|
* Added move sequence comparison functionSebastiano Tronto2025-07-312-3/+75
|
* added drslice coordinateSebastiano Tronto2025-07-301-1/+2
|
* All coordinates unsignedSebastiano Tronto2025-07-291-12/+12
|
* Make failed assert exit immediatelySebastiano Tronto2025-07-283-9/+7
|
* Removed VLA notation from function parameters.Sebastiano Tronto2025-05-271-12/+12
| | | | | I found out that this gives undefined behavior when then size is 0. Better not to have it at all, it is confusing for other developers anyway.
* Give error when ( is not closed in NISS sequenceSebastiano Tronto2025-04-251-0/+4
|
* NISSSebastiano Tronto2025-04-255-81/+166
|
* Added tests for inverse moveSebastiano Tronto2025-04-231-6/+30
|
* Added orientation to getcubeSebastiano Tronto2025-04-231-2/+10
|
* Adjusted solvers, fixed bugSebastiano Tronto2025-04-232-4/+11
|
* Almost added support for wide moves, only solve missingSebastiano Tronto2025-04-233-48/+185
|
* Merge branch 'extend_moves'Sebastiano Tronto2025-04-222-2/+97
|\
| * Merge branch 'master' into extend_movesSebastiano Tronto2025-04-223-404/+178
| |\
| * | Added constantsSebastiano Tronto2025-04-221-0/+16
| | |
* | | ProgressSebastiano Tronto2025-04-224-234/+656
| | |
* | | Update tests for oriented_cube_tSebastiano Tronto2025-04-225-54/+75
| |/ |/|
* | Updated tests and added fixed =A to B32 outputSebastiano Tronto2025-04-221-23/+11
| |
* | Removed old scripts and updated public APISebastiano Tronto2025-04-223-404/+190
|/
* Merged some files, renamed anotherSebastiano Tronto2025-04-216-154/+154
|
* Improved logging, especially for solveSebastiano Tronto2025-04-193-22/+3
|
* Some minor changes to the interface.Sebastiano Tronto2025-04-081-5/+5
| | | | | | | | | - Simplified logger to accept only a string, not a variadic list of args like printf(). This can still use some improvement, but now it is easier to use from other languages. - Fixed some misuses of the logger (wrong types etc) - Renamed some constants - Fixed some typos in comments.
* Some simplification to AVX2 codeSebastiano Tronto2025-04-011-1/+5
| | | | | Some simplification after discussion with Arhan Chaudhary (inspired by vcube). Performance looks unchanged, but at least the code is cleaner.
* simplified allowedmoves logicSebastiano Tronto2025-04-011-45/+7
|
* Added inverse coordinate for COSebastiano Tronto2025-03-262-1/+17
| | | | this is necessary for DR coordinate
* More safety with pointers using VLA function parametersSebastiano Tronto2025-03-251-1/+1
|
* Tiny bugfix in solution writingSebastiano Tronto2025-03-251-14/+9
|
* Added NISS to coord solverSebastiano Tronto2025-03-251-2/+2
|
* Big cleanup for appendsolution()Sebastiano Tronto2025-03-242-54/+55
| | | | | | | | | | With this PR the appendsolution routine is extracted from the h48 solver and the new coordinate solver and made generic. This has many advantages: - less repetition (even if the two versions are different enough that *for now* it was not a big deal) - smaller h48/solve.h file, which is already a big beast - easier to test the appendsolution() routine separately
* Some safety with move arrays, small refactor appendcharSebastiano Tronto2025-03-224-38/+40
|
* Filter solutions for coordinate solver and fix orderingSebastiano Tronto2025-03-191-0/+28
|
* Fix rare bug, but one more bug to goSebastiano Tronto2024-12-151-0/+12
|
* Solve bug related to duplicate solutionsSebastiano Tronto2024-12-153-3/+3
|
* Merge the "solver-experiments" branch that I have been working on forSebastiano Tronto2024-12-072-21/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a few weeks. This include mainly three things: 1. Various tweaks for a total performance gain of around 30%. 2. Take into account symmetries and avoid repeated work. This required a re-work of the splitting into tasks before the solve. 3. Add a second fallback table (eoesep). This gives huge performance gains for particular scrambles (e.g. superflip). After merging this commit, remove and re-generate all pruning tables. Squashed commit of the following: commit 60f0705d2d69050e6a30581a2810f686d6f69b80 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Sat Dec 7 16:06:48 2024 +0100 Fix indentation commit cc5d489a251812b6188c0ba264ac6cb2236f1afe Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Sat Dec 7 15:56:19 2024 +0100 Updated documentation commit a3f605dd628546e52564f82b139feb473b0725f3 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Sat Dec 7 14:01:11 2024 +0100 use eoesep table as second fallback commit c75e43c9116c64f97e92b0fe038be8a032925a72 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Fri Dec 6 16:13:23 2024 +0100 First commit for gendata_eoesep commit fea7688ab8bdc5ae0c3480622e2510a3bcd39248 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Tue Dec 3 17:31:00 2024 +0100 Add scramble to tool commit 66866cb71dea4ca8278ecb9e90ff4295771feb42 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Tue Dec 3 17:22:59 2024 +0100 Added tool to check multiple solutions commit ef65611c772c3996bddca8d181da3538e0af1674 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Tue Dec 3 17:16:20 2024 +0100 Write all solutions for symmetric positions commit e3ded26db7d7d4ae7c0e2488151ed14f581f7b8e Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Tue Nov 26 09:14:54 2024 +0100 Added symmetry filter (TODO: print excluded solutions) commit 864c437a9751c58d58562650ca9eba4a9e6ad3eb Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Mon Nov 25 14:51:13 2024 +0100 Improved task split commit b88926d36d7ab0c64c5fe3bb954fd15d41267fba Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Fri Nov 22 19:06:41 2024 +0100 Reworked tasks for multi-threading in view of symmetry filter commit 26fa653f97df8cd601aecb80eaf89f0a00e9ba9f Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Thu Oct 31 15:37:43 2024 +0100 Added transform move commit 19f655ef94d658eaa2fefb5cea3c167a3ec58db6 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Thu Oct 31 09:29:15 2024 +0100 Clarified doc commit 3b0fe1e5ef8b628854e30f0f0067300e2763c954 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Thu Oct 31 08:36:58 2024 +0100 Handle solved cube correctly commit 57705cbc4982e3abe97a36ed64871738d4f721c0 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Thu Oct 31 08:24:30 2024 +0100 Close file commit fc7d462b58bcf3d3a3fbf26c1f3bd04c640a4898 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Tue Oct 29 15:05:48 2024 +0100 Removed stats tool commit 359bf7cb49ef405ee76ed662207d47cb2abcc5a9 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Tue Oct 29 15:01:51 2024 +0100 Updated theory doc commit 39c315af562bc4ce896f41004388a4c34d475d37 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Tue Oct 29 14:51:40 2024 +0100 Remove unused constants commit 57a5d24538aa59a4df9221dad2f99e9f0286bd9d Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Tue Oct 29 10:20:38 2024 +0100 Add tool to solve scrambles from file commit 07e2918c216636891b1fa6adecc9756086a901e9 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Mon Oct 28 17:00:00 2024 +0100 Add make table to tool commit f5e5266c654eb027a5a35c57cc618555246f5e5e Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Mon Oct 28 09:35:49 2024 +0100 Remove old solver, other small things commit a1ec78025b7959dbb845213f7f4e6851ecebc204 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Sun Oct 27 02:00:29 2024 +0200 Improvements commit 8eea23dbe888d923e662e24ae969130e2c67b999 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Sat Oct 26 12:24:19 2024 +0200 Makefile fix commit 3fc3927beacc78971cefeb42da8d71fe6c015fc1 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Fri Oct 25 18:25:09 2024 +0200 More performance gains commit 7b4efa1f9af9722de1ab9ccfc27899825a0d12c4 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Fri Oct 25 15:53:20 2024 +0200 Alternative solver implementation, small performance gain
* New interface function nissy_countmovesSebastiano Tronto2024-10-181-2/+3
|
* Interface changes, progress with pythonSebastiano Tronto2024-10-143-13/+7
|
* Make writemoves (and solver) safer by checking buffer sizeSebastiano Tronto2024-10-122-10/+25
|
* Make writecube saferSebastiano Tronto2024-10-121-42/+61
|
* Improved error messages and add some comments in nissy.hSebastiano Tronto2024-10-105-43/+64
|
* Revert useless optimization (fix portable and neon)Sebastiano Tronto2024-10-071-12/+10
|
* Tiny optimization for moves (avoid unnecessary CO)Sebastiano Tronto2024-10-061-10/+12
| | | | This is like 1% improvement to solver, but it is easy enough so I'll keep it
* Revert table-based transformationsSebastiano Tronto2024-10-047-748/+560
| | | | Long live the giant switch!
* Table-based transformations (will revert immediately)Sebastiano Tronto2024-10-046-343/+352
| | | | | | | | This commit changes transformations to being based on a lookup table intead of a big switch. This is something I had planned for a long time and the code is nicer with this change. But unfortunately the performance is noticeably worse, so I'll revert all these changes in the next commit. I wanted to push this anyway so we can keep track of this.
* Patch up spurious warningSebastiano Tronto2024-09-061-0/+25
|
* Added test for invermoves and small refactorSebastiano Tronto2024-09-051-14/+40
|

Generated with cgit - Back to sebastiano.tronto.net